TransactionHandler.Disposing Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Disposing(DbConnection, DbConnectionInterceptionContext) |
Można zaimplementować w klasie pochodnej. |
| Disposing(DbTransaction, DbTransactionInterceptionContext) |
Można zaimplementować w klasie pochodnej. |
Disposing(DbConnection, DbConnectionInterceptionContext)
Można zaimplementować w klasie pochodnej.
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)
Parametry
- connection
- DbConnection
Połączenie jest usuwane.
- interceptionContext
- DbConnectionInterceptionContext
Informacje kontekstowe skojarzone z wywołaniem.
Implementuje
Dotyczy
Disposing(DbTransaction, DbTransactionInterceptionContext)
Można zaimplementować w klasie pochodnej.
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)
Parametry
- transaction
- DbTransaction
Transakcja jest usuwana.
- interceptionContext
- DbTransactionInterceptionContext
Informacje kontekstowe skojarzone z wywołaniem.