IDbCommandTreeInterceptor.TreeCreated 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 메서드는 새 DbCommandTree 를 만든 후에 호출됩니다. 가로채기 후에 사용되는 트리는 가로채는 동안 을 설정 Result 하여 변경할 수 있습니다.
public void TreeCreated(System.Data.Entity.Infrastructure.Interception.DbCommandTreeInterceptionContext interceptionContext);
abstract member TreeCreated : System.Data.Entity.Infrastructure.Interception.DbCommandTreeInterceptionContext -> unit
Public Sub TreeCreated (interceptionContext As DbCommandTreeInterceptionContext)
매개 변수
- interceptionContext
- DbCommandTreeInterceptionContext
호출과 관련된 컨텍스트 정보입니다.
설명
명령 트리는 쿼리 및 삽입/업데이트/삭제 명령에 대해 만들어집니다. 그러나 쿼리 명령 트리는 모델에 의해 캐시됩니다. 즉, 명령 트리 만들기는 쿼리가 처음 실행될 때만 발생하며 이 알림은 해당 시간에만 발생합니다.