DbConnection.IDbConnection.BeginTransaction Method (IsolationLevel)

 

Begins a database transaction with the specified IsolationLevel value.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

private abstract BeginTransaction : 
        isolationLevel:IsolationLevel -> IDbTransaction
private override BeginTransaction : 
        isolationLevel:IsolationLevel -> IDbTransaction

Parameters

isolationLevel
Type: System.Data.IsolationLevel

One of the IsolationLevel values.

Return Value

Type: System.Data.IDbTransaction

An object that represents the new transaction.

For more information, see BeginTransaction.

.NET Framework
Available since 2.0
Return to top
Show: