The Rollback method in ADO.NET is used to ___________ a transaction.
- Abort
- Begin
- Commit
- Undo
The Rollback method in ADO.NET is used to undo or cancel a transaction, reverting any changes made since the transaction began.
Loading...
Related Quiz
- To optimize LINQ to Entities queries, consider using the ___________ method to specify what data to include in the result set.
- When using connection pooling, the database connection remains open in a ___________ state.
- Scenario: Your project requires support for multiple database providers, such as SQL Server, Oracle, and MySQL. Which feature of Entity Framework should you consider to achieve this flexibility?
- You want to retrieve a single value (e.g., the total number of records) from a SELECT statement. Which ADO.NET method would you use for this purpose?
- Which ADO.NET object is responsible for managing transactions?