ServiceCollectionMap(IServiceCollection) 构造函数

定义

创建一个新的 ServiceCollectionMap 以在给定 IServiceCollection的 上操作。

public ServiceCollectionMap (Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
new Microsoft.EntityFrameworkCore.Infrastructure.ServiceCollectionMap : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.EntityFrameworkCore.Infrastructure.ServiceCollectionMap
Public Sub New (serviceCollection As IServiceCollection)

参数

serviceCollection
IServiceCollection

要使用的集合。

适用于