Condividi tramite


IDbCommandTreeInterceptor Interfaccia

Definizione

Un oggetto che implementa questa interfaccia può essere registrato con DbInterception per ricevere notifiche quando Entity Framework crea DbCommandTree alberi dei comandi.

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

Commenti

Gli intercettori possono essere registrati anche nel file di configurazione dell'applicazione. Per altre informazioni sulla configurazione di Entity Framework, vedere http://go.microsoft.com/fwlink/?LinkId=260883 Altre informazioni sulla configurazione di Entity Framework.

Metodi

TreeCreated(DbCommandTreeInterceptionContext)

Questo metodo viene chiamato dopo la creazione di un nuovo DbCommandTree metodo. L'albero usato dopo l'intercettazione può essere modificato impostando Result durante l'intercettazione.

Si applica a