Share via


DatabaseLogFormatter.Committed Method

Definition

This method is called after Commit() is invoked. The default implementation of this method filters by DbContext set into Context, if any, and then logs the event.

public virtual void Committed (System.Data.Common.DbTransaction transaction, System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext interceptionContext);
abstract member Committed : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
override this.Committed : System.Data.Common.DbTransaction * System.Data.Entity.Infrastructure.Interception.DbTransactionInterceptionContext -> unit
Public Overridable Sub Committed (transaction As DbTransaction, interceptionContext As DbTransactionInterceptionContext)

Parameters

transaction
DbTransaction

The transaction that was commited.

interceptionContext
DbTransactionInterceptionContext

Contextual information associated with the call.

Implements

Applies to