다음을 통해 공유


DbCommandInterceptionContext<TResult>.WithCommandBehavior 메서드

정의

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

public System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<TResult> WithCommandBehavior(System.Data.CommandBehavior commandBehavior);
override this.WithCommandBehavior : System.Data.CommandBehavior -> System.Data.Entity.Infrastructure.Interception.DbCommandInterceptionContext<'Result>

매개 변수

commandBehavior
CommandBehavior

연결할 명령 동작입니다.

반환

지정된 명령 동작과 연결된 새 가로채기 컨텍스트입니다.

적용 대상