Condividi tramite


IDbConnectionInterceptor.BeganTransaction Metodo

Definizione

Chiamato dopo BeginTransaction(IsolationLevel) che viene richiamato. La transazione usata da Entity Framework può essere modificata impostando 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)

Parametri

connection
DbConnection

Connessione che ha avviato la transazione.

interceptionContext
BeginTransactionInterceptionContext

Informazioni contestuali associate alla chiamata.

Si applica a