TransactionHandler.Disposing Method

 

Can be implemented in a derived class.

Namespace:   System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodDisposing(DbConnection, DbConnectionInterceptionContext)

Can be implemented in a derived class.

System_CAPS_pubmethodDisposing(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.