Share via


IInternalServiceCollectionMap 介面

定義

公開方法,允許提供者在內部服務提供者上註冊 EF 服務相依性物件。

此類型通常是由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

public interface IInternalServiceCollectionMap
type IInternalServiceCollectionMap = interface
Public Interface IInternalServiceCollectionMap

備註

如需詳細資訊和範例,請參閱 資料庫提供者和延伸模組的實作

方法

AddDependencyScoped<TDependencies>()

加入相 Scoped 依性物件。

AddDependencySingleton<TDependencies>()

加入相 Singleton 依性物件。

適用於