語言

IInternalServiceCollectionMap 介面

定義

暴露方法,允許提供者在內部服務提供者上註冊 EF 服務依賴物件。

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

public interface IInternalServiceCollectionMap
type IInternalServiceCollectionMap = interface
Public Interface IInternalServiceCollectionMap

備註

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

方法

名稱 Description
AddDependencyScoped<TDependencies>()

新增一個 Scoped 相依物件。

AddDependencySingleton<TDependencies>()

新增一個 Singleton 相依物件。

適用於