DbConnection.BeginDbTransaction Method (IsolationLevel)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Starts a database transaction.

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

protected abstract DbTransaction BeginDbTransaction(
	IsolationLevel isolationLevel
)

Parameters

isolationLevel
Type: System.Data.IsolationLevel

Specifies the isolation level for the transaction.

Return Value

Type: System.Data.Common.DbTransaction

An object representing the new transaction.

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

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: