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


IDbTransactionInterceptor.ConnectionGot Метод

Определение

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

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

Параметры

transaction
DbTransaction

Транзакция.

interceptionContext
DbTransactionInterceptionContext<DbConnection>

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

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