共用方式為


EntityFrameworkRelationalServicesBuilder(IServiceCollection) 建構函式

定義

關係資料庫提供者用來建立 EntityFrameworkRelationalServicesBuilder 新的 提供者服務註冊。

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

參數

serviceCollection
IServiceCollection

將註冊服務的集合。

適用於