DbInterception.Dispatch 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
這是派遣攔截機的入口。 這通常僅由 Entity Framework 內部使用,但公開提供,以便其他程式碼能確保在代表 EF 執行操作時會呼叫註冊攔截器。 例如,EF 提供者 a 在執行指令時可能會利用此機制。
public static System.Data.Entity.Infrastructure.Interception.DbDispatchers Dispatch { get; }
member this.Dispatch : System.Data.Entity.Infrastructure.Interception.DbDispatchers
Public Shared ReadOnly Property Dispatch As DbDispatchers