IDbCommandTreeInterceptor Interface

Definition

An object that implements this interface can be registered with DbInterception to receive notifications when Entity Framework creates DbCommandTree command trees.

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

Remarks

Interceptors can also be registered in the config file of the application. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information about Entity Framework configuration.

Methods

TreeCreated(DbCommandTreeInterceptionContext)

This method is called after a new DbCommandTree has been created. The tree that is used after interception can be changed by setting Result while intercepting.

Applies to