DbTransactionDispatcher.Dispose(DbTransaction, DbInterceptionContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sends Disposing(DbTransaction, DbTransactionInterceptionContext) and Disposed(DbTransaction, DbTransactionInterceptionContext) to any IDbConnectionInterceptor registered on DbInterception before/after making a call to 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)
Parameters
- transaction
- DbTransaction
The transaction on which the operation will be executed.
- interceptionContext
- DbInterceptionContext
Optional information about the context of the call being made.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework