Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbConnection::BeginDbTransaction Method (IsolationLevel)

 

Starts a database transaction.

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

protected:
virtual DbTransaction^ BeginDbTransaction(
	IsolationLevel isolationLevel
) abstract

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: