ModelBuilder.IInfrastructure<IConventionModelBuilder>.Instance Property

Definition

The internal ModelBuilder being used to configure this model.

C#
Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder Microsoft.EntityFrameworkCore.Infrastructure.IInfrastructure<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder>.Instance { get; }

Property Value

Implements

Remarks

This property is intended for use by extension methods to configure the model. It is not intended to be used in application code.

Applies to

Product Versions
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0