IDbConnectionInterceptor 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
實作此介面的物件可註冊 DbInterception ,以便在 Entity Framework 對 執行操作 DbTransaction時接收通知。
public interface IDbConnectionInterceptor : System.Data.Entity.Infrastructure.Interception.IDbInterceptor
type IDbConnectionInterceptor = interface
interface IDbInterceptor
Public Interface IDbConnectionInterceptor
Implements IDbInterceptor
- 衍生
- 實作
備註
攔截器也可以註冊在應用程式的設定檔中。 請參閱 http://go.microsoft.com/fwlink/?LinkId=260883 更多關於實體框架設定的資訊。