Поделиться через


IDbTransactionInterceptor.ConnectionGetting Метод

Определение

Вызывается перед Connection извлечением.

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

Параметры

transaction
DbTransaction

Транзакция.

interceptionContext
DbTransactionInterceptionContext<DbConnection>

Контекстная информация, связанная с вызовом.

Применяется к