DbTransactionDispatcher.Commit(DbTransaction, DbInterceptionContext) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Отправляет и Committing(DbTransaction, DbTransactionInterceptionContext) всем зарегистрированным DbInterception до или после вызова Commit().IDbConnectionInterceptorCommitted(DbTransaction, DbTransactionInterceptionContext)
public virtual void Commit (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbInterceptionContext interceptionContext);
abstract member Commit : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
override this.Commit : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbInterceptionContext -> unit
Public Overridable Sub Commit (transaction As DbTransaction, interceptionContext As DbInterceptionContext)
Параметры
- transaction
- DbTransaction
Транзакция, в которой будет выполняться операция.
- interceptionContext
- DbInterceptionContext
Необязательные сведения о контексте выполняемого вызова.
Применяется к
Entity Framework