Partilhar via


IDbConnectionInterceptor.BeganTransaction Método

Definição

Chamado após BeginTransaction(IsolationLevel) é invocado. A transação usada pelo Entity Framework pode ser alterada definindo Result.

public 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
Public 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.

Aplica-se a