IUpdateSqlGenerator 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
一個用於產生插入、更新、刪除指令及相關 SQL 操作的服務 SaveChanges()
此類型通常由資料庫提供者使用;通常不在應用程式碼中使用。
public interface IUpdateSqlGenerator
public interface IUpdateSqlGenerator : Microsoft.EntityFrameworkCore.Update.Internal.ISingletonUpdateSqlGenerator
type IUpdateSqlGenerator = interface
type IUpdateSqlGenerator = interface
interface ISingletonUpdateSqlGenerator
Public Interface IUpdateSqlGenerator
Public Interface IUpdateSqlGenerator
Implements ISingletonUpdateSqlGenerator
- 衍生
- 實作
-
Microsoft.EntityFrameworkCore.Update.Internal.ISingletonUpdateSqlGenerator
備註
服役期間為 Singleton。 這表示單一實例會被多個 DbContext 實例使用。 實作必須是執行緒安全的。 此服務無法依賴於註冊為 Scoped的服務。
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。