DatabaseProvider<TProviderServices,TOptionsExtension>.GetProviderServices 方法

定义

获取 EF 为数据库提供程序运行所需的基本服务集。

public virtual Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices GetProviderServices (IServiceProvider serviceProvider);
abstract member GetProviderServices : IServiceProvider -> Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices
override this.GetProviderServices : IServiceProvider -> Microsoft.EntityFrameworkCore.Storage.IDatabaseProviderServices
Public Overridable Function GetProviderServices (serviceProvider As IServiceProvider) As IDatabaseProviderServices

参数

serviceProvider
IServiceProvider

要从中解析服务的服务提供程序。

返回

此数据库提供程序的服务。

实现

适用于