Compartilhar via


IDbTransactionInterceptor.ConnectionGetting Método

Definição

Chamado antes Connection de ser recuperado.

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))

Parâmetros

transaction
DbTransaction

A transação.

interceptionContext
DbTransactionInterceptionContext<DbConnection>

Informações contextuais associadas à chamada.

Aplica-se a