IDbTransactionInterceptor 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
实现此接口的对象可以注册 DbInterception 到 ,以在实体框架提交或回滚事务时接收通知。
public interface IDbTransactionInterceptor : System.Data.Entity.Infrastructure.Interception.IDbInterceptor
type IDbTransactionInterceptor = interface
interface IDbInterceptor
Public Interface IDbTransactionInterceptor
Implements IDbInterceptor
- 派生
- 实现
注解
侦听器还可以在应用程序的配置文件中注册。 有关 Entity Framework 配置的详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkId=260883 。