다음을 통해 공유


IDbCommandTreeInterceptor 인터페이스

정의

이 인터페이스를 구현하는 개체를 에 등록 DbInterception 하여 Entity Framework에서 명령 트리를 만들 DbCommandTree 때 알림을 받을 수 있습니다.

public interface IDbCommandTreeInterceptor : System.Data.Entity.Infrastructure.Interception.IDbInterceptor
type IDbCommandTreeInterceptor = interface
    interface IDbInterceptor
Public Interface IDbCommandTreeInterceptor
Implements IDbInterceptor
구현

설명

인터셉터는 애플리케이션의 구성 파일에 등록할 수도 있습니다. Entity Framework 구성에 대한 자세한 내용은 를 참조하세요 http://go.microsoft.com/fwlink/?LinkId=260883 .

메서드

TreeCreated(DbCommandTreeInterceptionContext)

이 메서드는 새 DbCommandTree 메서드를 만든 후에 호출됩니다. 가로채는 동안 을 설정 Result 하여 가로채기 후 사용되는 트리를 변경할 수 있습니다.

적용 대상