語言

IRelationalCommandBuilderFactory 介面

定義

建立該 IRelationalCommandBuilder 類別的實例。

此類型通常由資料庫提供者(及其他擴充功能)使用。 它通常不被用於應用程式程式碼中。

public interface IRelationalCommandBuilderFactory
type IRelationalCommandBuilderFactory = interface
Public Interface IRelationalCommandBuilderFactory
衍生

備註

服役期間為 Singleton。 這表示單一實例會被多個 DbContext 實例使用。 實作必須是執行緒安全的。 此服務無法依賴於註冊為 Scoped的服務。

更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。

方法

名稱 Description
Create()

會產生一個新的 IRelationalCommandBuilder。

適用於