IDbConnectionInterceptor.BeganTransaction 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.
Called after BeginTransaction(IsolationLevel) is invoked. The transaction used by Entity Framework can be changed by setting 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)
Parameters
- connection
- DbConnection
The connection that began the transaction.
- interceptionContext
- BeginTransactionInterceptionContext
Contextual information associated with the call.
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