Sdílet prostřednictvím


BeginTransactionInterceptionContext.WithIsolationLevel(IsolationLevel) Metoda

Definice

Vytvoří novou BeginTransactionInterceptionContext , která obsahuje všechny kontextové informace v tomto kontextu zachytávání společně s daným IsolationLevelobjektem .

public System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext WithIsolationLevel(System.Data.IsolationLevel isolationLevel);
member this.WithIsolationLevel : System.Data.IsolationLevel -> System.Data.Entity.Infrastructure.Interception.BeginTransactionInterceptionContext

Parametry

isolationLevel
IsolationLevel

Úroveň izolace, která se má přidružit.

Návraty

Nový kontext zachytávání přidružený k dané úrovni izolace.

Platí pro