다음을 통해 공유


IDbCommandTreeInterceptor.TreeCreated 메서드

정의

이 메서드는 새 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

호출과 관련된 컨텍스트 정보입니다.

설명

명령 트리는 쿼리 및 삽입/업데이트/삭제 명령에 대해 만들어집니다. 그러나 쿼리 명령 트리는 모델에 의해 캐시됩니다. 즉, 명령 트리 만들기는 쿼리가 처음 실행될 때만 발생하며 이 알림은 해당 시간에만 발생합니다.

적용 대상