語言

IInternalServiceCollectionMap.AddDependencyScoped<TDependencies> 方法

定義

新增一個 Scoped 相依物件。

public Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap AddDependencyScoped<TDependencies>();
abstract member AddDependencyScoped : unit -> Microsoft.EntityFrameworkCore.Infrastructure.IInternalServiceCollectionMap
Public Function AddDependencyScoped(Of TDependencies) () As IInternalServiceCollectionMap

類型參數

TDependencies

依賴類型。

傳回

相同的集合映射,以便串接更多方法。

適用於