DbQuery<TQuery>.IInfrastructure<IServiceProvider>.Instance 屬性

定義

取得用來解析服務的範圍 IServiceProvider

此屬性適用于需要利用公用 API 介面中未直接公開之服務的擴充方法。

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

屬性值

實作

適用於