DbSet<TEntity>.IInfrastructure<IServiceProvider>.Instance Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the scoped IServiceProvider being used to resolve services.
IServiceProvider Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance { get; }
member this.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<System.IServiceProvider>.Instance : IServiceProvider
ReadOnly Property Instance As IServiceProvider Implements IInfrastructure(Of IServiceProvider).Instance
This property is intended for use by extension methods that need to make use of services not directly exposed in the public API surface.
See Accessing DbContext services for more information and examples.
Proizvod | Verzije |
---|---|
Entity Framework Core | 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework povratne informacije
Entity Framework je projekat otvorenog koda. Odaberite vezu za pružanje povratnih informacija: