Compartilhar via


DatabaseLogFormatter.BeganTransaction Método

Definição

Chamado após BeginTransaction(IsolationLevel) é invocado. A implementação padrão desse método filtra por DbContext definido como Context, se houver, e, em seguida, registra o evento.

public virtual void BeganTransaction (System.Data.Common.DbConnection connection, System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext interceptionContext);
abstract member BeganTransaction : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext -> unit
override this.BeganTransaction : System.Data.Common.DbConnection * System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext -> unit
Public Overridable Sub BeganTransaction (connection As DbConnection, interceptionContext As BeginTransactionInterceptionContext)

Parâmetros

connection
DbConnection

A conexão que iniciou a transação.

interceptionContext
BeginTransactionInterceptionContext

Informações contextuais associadas à chamada.

Implementações

Aplica-se a