DbCommandInterceptionContext<TResult>.WithCommandBehavior 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 가로채기 컨텍스트의 모든 컨텍스트 정보를 지정된 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
연결할 명령 동작입니다.
반환
지정된 명령 동작과 연결된 새 가로채기 컨텍스트입니다.