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


DbTransactionDispatcher.Dispose(DbTransaction, DbInterceptionContext) Метод

Определение

Disposing(DbTransaction, DbTransactionInterceptionContext) Отправляет и Disposed(DbTransaction, DbTransactionInterceptionContext) в любой зарегистрированный IDbConnectionInterceptor до DbInterception или после выполнения вызова Dispose().

public virtual void Dispose (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext);
abstract member Dispose : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
override this.Dispose : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
Public Overridable Sub Dispose (transaction As DbTransaction, interceptionContext As DbInterceptionContext)

Параметры

transaction
DbTransaction

Транзакция, в которой будет выполняться операция.

interceptionContext
DbInterceptionContext

Необязательные сведения о контексте выполняемого вызова.

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