TransactionHandler.Disposing 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.
Overloads
Disposing(DbConnection, DbConnectionInterceptionContext) |
Can be implemented in a derived class. |
Disposing(DbTransaction, DbTransactionInterceptionContext) |
Can be implemented in a derived class. |
Disposing(DbConnection, DbConnectionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.DbConnectionInterceptionContext -> unit
Public Overridable Sub Disposing (connection As DbConnection, interceptionContext As DbConnectionInterceptionContext)
Parameters
- connection
- DbConnection
The connection being disposed.
- interceptionContext
- DbConnectionInterceptionContext
Contextual information associated with the call.
Implements
Applies to
Disposing(DbTransaction, DbTransactionInterceptionContext)
Can be implemented in a derived class.
public virtual void Disposing (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.Disposing : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub Disposing (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)
Parameters
- transaction
- DbTransaction
The transaction being disposed.
- interceptionContext
- DbTransactionInterceptionContext
Contextual information associated with the call.
Implements
See also
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework