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
Необязательные сведения о контексте выполняемого вызова.
Применяется к
Entity Framework