SqlConnection.IDbConnection.BeginTransaction SqlConnection.IDbConnection.BeginTransaction SqlConnection.IDbConnection.BeginTransaction Method

Definition

Overloads

IDbConnection.BeginTransaction() IDbConnection.BeginTransaction() IDbConnection.BeginTransaction()

Begins a database transaction.

IDbConnection.BeginTransaction(IsolationLevel) IDbConnection.BeginTransaction(IsolationLevel) IDbConnection.BeginTransaction(IsolationLevel)

Begins a database transaction with the specified IsolationLevel value.

IDbConnection.BeginTransaction() IDbConnection.BeginTransaction() IDbConnection.BeginTransaction()

Begins a database transaction.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction() = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction ();
Function BeginTransaction () As IDbTransaction Implements IDbConnection.BeginTransaction

Returns

An object that represents the new transaction.

Implements

Remarks

Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit() or Rollback() method.

IDbConnection.BeginTransaction(IsolationLevel) IDbConnection.BeginTransaction(IsolationLevel) IDbConnection.BeginTransaction(IsolationLevel)

Begins a database transaction with the specified IsolationLevel value.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction(System::Data::IsolationLevel iso) = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction (System.Data.IsolationLevel iso);
Function BeginTransaction (iso As IsolationLevel) As IDbTransaction Implements IDbConnection.BeginTransaction

Parameters

Returns

An object that represents the new transaction.

Implements

Remarks

Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit() or Rollback() method.

Applies to