IRelationalTransactionManager.BeginTransaction(IsolationLevel) Method

Definition

Begins a new transaction.

public Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction BeginTransaction (System.Data.IsolationLevel isolationLevel);
abstract member BeginTransaction : System.Data.IsolationLevel -> Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction
Public Function BeginTransaction (isolationLevel As IsolationLevel) As IDbContextTransaction

Parameters

isolationLevel
IsolationLevel

The isolation level to use for the transaction.

Returns

The newly created transaction.

Applies to