共用方式為


ModelBuilder.IInfrastructure<IConventionModelBuilder>.Instance 屬性

定義

用來設定此模型的內部 ModelBuilder

Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder>.Instance { get; }
member this.Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder>.Instance : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder
 ReadOnly Property Instance As IConventionModelBuilder Implements IInfrastructure(Of IConventionModelBuilder).Instance

屬性值

實作

備註

此屬性供擴充方法用來設定模型。 它不適合用于應用程式程式碼。

適用於