DbContext.IInfrastructure<IServiceProvider>.Instance DbContext.IInfrastructure<IServiceProvider>.Instance Property


Gets the scoped IServiceProvider being used to resolve services.

This property is intended for use by extension methods that need to make use of services not directly exposed in the public API surface.

IServiceProvider Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance { get; }
 ReadOnly Property Instance As IServiceProvider Implements IInfrastructure(Of IServiceProvider).Instance

Property Value


Applies to