When using Oracle databases, you would use the ___________ class as a command object.
- OracleCommand
- SqlCommand
- DbCommand
- OleDbCommand
The correct option is OracleCommand. When working with Oracle databases in .NET applications, the OracleCommand class is specifically designed to execute commands against an Oracle database. It provides methods and properties to facilitate database interactions, making it the appropriate choice as a command object for Oracle databases.
Loading...
Related Quiz
- When should you use a stored procedure as a command object in ADO.NET?
- ADO.NET provides ___________ classes for parameterized queries that are specific to different database providers.
- ADO.NET provides mechanisms to automatically ___________ and ___________ connections when they are no longer needed.
- What is the primary purpose of non-query commands (INSERT, UPDATE, DELETE) in ADO.NET?
- When binding data to a list control, which ADO.NET class is commonly used?