Share via


DatabaseProvider<TProviderServices,TOptionsExtension>.GetProviderServices Method

Definition

Gets the base set of services required by EF for the database provider to function.

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

Parameters

serviceProvider
IServiceProvider

The service provider to resolve services from.

Returns

The services for this database provider.

Implements

Applies to