DbConnection.BeginDbTransaction(IsolationLevel) DbConnection.BeginDbTransaction(IsolationLevel) DbConnection.BeginDbTransaction(IsolationLevel) Method

Definition

Starts a database transaction.

protected:
 abstract System::Data::Common::DbTransaction ^ BeginDbTransaction(System::Data::IsolationLevel isolationLevel);
protected abstract System.Data.Common.DbTransaction BeginDbTransaction (System.Data.IsolationLevel isolationLevel);
abstract member BeginDbTransaction : System.Data.IsolationLevel -> System.Data.Common.DbTransaction

Parameters

isolationLevel
IsolationLevel IsolationLevel IsolationLevel

Specifies the isolation level for the transaction.

Returns

An object representing the new transaction.

Remarks

If you are creating your own connection type, override this method to implement the code necessary to begin a transaction.

Applies to

See also