Share via


IDbTransactionInterceptor.ConnectionGetting Method

Definition

Called before Connection is retrieved.

public void ConnectionGetting (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext<System.Data.Common.DbConnection> interceptionContext);
abstract member ConnectionGetting : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext<System.Data.Common.DbConnection> -> unit
Public Sub ConnectionGetting (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext(Of DbConnection))

Parameters

transaction
DbTransaction

The transaction.

interceptionContext
DbTransactionInterceptionContext<DbConnection>

Contextual information associated with the call.

Applies to