DatabaseLogFormatter.RolledBack 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.
This method is called after Rollback() is invoked. The default implementation of this method filters by DbContext set into Context, if any, and then logs the event.
public virtual void RolledBack (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member RolledBack : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.RolledBack : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub RolledBack (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)
Parameters
- transaction
- DbTransaction
The transaction that was rolled back.
- interceptionContext
- DbTransactionInterceptionContext
Contextual information associated with the call.
Implements
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework