Which ADO.NET object is responsible for managing transactions?

  • SqlCommand
  • SqlConnection
  • SqlDataAdapter
  • SqlTransaction
SqlTransaction object is responsible for managing transactions in ADO.NET. It provides methods to begin, commit, or rollback transactions, ensuring that database operations are performed atomically and consistently.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *