IDbCommandTreeInterceptor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework