Share via


IDbConnectionInterceptor.BeginningTransaction Method

Definition

Called before BeginTransaction(IsolationLevel) is invoked.

public void BeginningTransaction (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext interceptionContext);
abstract member BeginningTransaction : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext -> unit
Public Sub BeginningTransaction (connection As DbConnection, interceptionContext As BeginTransactionInterceptionContext)

Parameters

connection
DbConnection

The connection beginning the transaction.

interceptionContext
BeginTransactionInterceptionContext

Contextual information associated with the call.

Applies to