TransactionHandler.Disposing Method
Can be implemented in a derived class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Disposing(DbConnection, DbConnectionInterceptionContext) | Can be implemented in a derived class. |
![]() | Disposing(DbTransaction, DbTransactionInterceptionContext) | Can be implemented in a derived class. |
TransactionHandler.Disposing Method (DbConnection, DbConnectionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing( DbConnection connection, DbConnectionInterceptionContext interceptionContext )
Parameters
- connection
-
Type:
System.Data.Common.DbConnection
The connection being disposed.
- interceptionContext
-
Type:
System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext
The contextual information associated with the call.
TransactionHandler.Disposing Method (DbTransaction, DbTransactionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing( DbTransaction transaction, DbTransactionInterceptionContext interceptionContext )
Parameters
- transaction
-
Type:
System.Data.Common.DbTransaction
The transaction being disposed.
- interceptionContext
-
Type:
System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext
The contextual information associated with the call.