EntityConnection.BeginDbTransaction Method (IsolationLevel)

 

Begins a database transaction

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

protected override DbTransaction BeginDbTransaction(
	IsolationLevel isolationLevel
)

Parameters

isolationLevel
Type: System.Data.IsolationLevel

The isolation level of the transaction

Return Value

Type: System.Data.Common.DbTransaction

An object representing the new transaction