System.Data.Entity.Infrastructure.Interception 命名空间
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
类
接口
IDbCommandInterceptor |
可以使用 DbInterception 注册实现此接口的对象,以在 Entity Framework 执行命令时接收通知。 |
IDbCommandTreeInterceptor |
可以在实体框架创建命令树时向 DbInterception 注册实现此接口的对象 DbCommandTree ,以接收通知。 |
IDbConfigurationInterceptor |
可以在实体框架加载应用程序的 时向 注册 DbInterception 实现此接口的对象 DbConfiguration,以接收通知。 |
IDbConnectionInterceptor |
在实体框架上DbTransaction执行操作时,可将实现此接口的对象注册DbInterception到 以接收通知。 |
IDbInterceptor |
这是为各种不同类型的操作提供拦截点的所有接口的基接口。 有关示例,请参阅 IDbCommandInterceptor。 侦听器在 类上 DbInterception 注册。 |
IDbTransactionInterceptor |
实现此接口的对象可以注册 DbInterception 到 ,以在实体框架提交或回滚事务时接收通知。 |