다음을 통해 공유


BeginTransactionInterceptionContext.WithIsolationLevel(IsolationLevel) 메서드

정의

이 가로채기 컨텍스트의 모든 컨텍스트 정보를 지정된 IsolationLevel와 함께 포함하는 새 BeginTransactionInterceptionContext 을 만듭니다.

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

매개 변수

isolationLevel
IsolationLevel

연결할 격리 수준입니다.

반환

지정된 격리 수준과 연결된 새 가로채기 컨텍스트입니다.

적용 대상