Which ADO.NET class represents a command object for executing SQL queries and stored procedures in SQL Server?
- SqlCommand
- SqlConnection
- SqlDataAdapter
- SqlDataReader
The SqlCommand class in ADO.NET represents a command object specifically designed for executing SQL queries and stored procedures in SQL Server. It provides methods for executing commands and retrieving results from the database.
Loading...
Related Quiz
- Your Entity Framework application is experiencing performance issues. What are some specific aspects of mapping entities to database tables that you should review to optimize performance?
- The Update method of a DataAdapter is used to apply changes from a DataSet back to the ___________.
- LINQ to Objects is primarily used for querying data from which data source?
- Which part of Entity Framework is responsible for translating LINQ queries into SQL queries?
- Which method is used to create a DataView from a DataTable in ADO.NET?