What is the purpose of the BeginTransaction method in ADO.NET?

  • To begin a database transaction
  • To establish a connection to the database
  • To execute a SQL command
  • To retrieve data from the database
The BeginTransaction method in ADO.NET is used to initiate a database transaction. It marks the beginning of a sequence of database operations that must be treated as a single unit of work, ensuring data integrity and consistency.
Add your answer
Loading...

Leave a comment

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