語言

IModificationCommandBatchFactory 介面

定義

一個用於建立 ModificationCommandBatch 實例的服務。

此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。

public interface IModificationCommandBatchFactory
type IModificationCommandBatchFactory = interface
Public Interface IModificationCommandBatchFactory

備註

服役期間為 Scoped。 這表示每個 DbContext 實例都會使用自己的服務實例。 實作方式可能取決於其他註冊於任何生命週期的服務。 實作不需要執行緒安全。

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

方法

名稱 Description
Create()

建立新的 ModificationCommandBatch 實例。

適用於