ModelConfiguration ModelConfiguration Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class ModelConfigurationPublic Class ModelConfiguration

Inheritance Hierarchy

  • System.Object
    System.Object
  • ModelConfiguration
    ModelConfiguration

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Fields summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • ModelConfiguration(ConfigurationFactory, IModel, CustomConfiguration, IRelationalAnnotationProvider, CSharpUtilities, ScaffoldingUtilities)
    ModelConfiguration(ConfigurationFactory, IModel, CustomConfiguration, IRelationalAnnotationProvider, CSharpUtilities, ScaffoldingUtilities)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public ModelConfiguration(ConfigurationFactory configurationFactory, IModel model, CustomConfiguration customConfiguration, IRelationalAnnotationProvider annotationProvider, CSharpUtilities cSharpUtilities, ScaffoldingUtilities scaffoldingUtilities)Public Sub New(configurationFactory As ConfigurationFactory, model As IModel, customConfiguration As CustomConfiguration, annotationProvider As IRelationalAnnotationProvider, cSharpUtilities As CSharpUtilities, scaffoldingUtilities As ScaffoldingUtilities)

    Parameters

Fields

  • DbContextSuffix
    DbContextSuffix

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected const string DbContextSuffix = "Context"Protected Const DbContextSuffix As String = "Context"
  • DefaultDbContextName
    DefaultDbContextName

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    protected const string DefaultDbContextName = "ModelContext"Protected Const DefaultDbContextName As String = "ModelContext"

Properties

  • AnnotationProvider
    AnnotationProvider

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IRelationalAnnotationProvider AnnotationProvider { get; }Public Overridable ReadOnly Property AnnotationProvider As IRelationalAnnotationProvider

    Property Value

  • CSharpUtilities
    CSharpUtilities

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual CSharpUtilities CSharpUtilities { get; }Public Overridable ReadOnly Property CSharpUtilities As CSharpUtilities

    Property Value

  • CustomConfiguration
    CustomConfiguration

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual CustomConfiguration CustomConfiguration { get; set; }Public Overridable Property CustomConfiguration As CustomConfiguration

    Property Value

  • EntityConfigurations
    EntityConfigurations

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual List<EntityConfiguration> EntityConfigurations { get; }Public Overridable ReadOnly Property EntityConfigurations As List(Of EntityConfiguration)

    Property Value

  • Model
    Model

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual IModel Model { get; }Public Overridable ReadOnly Property Model As IModel

    Property Value

  • OnConfiguringConfigurations
    OnConfiguringConfigurations

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual List<OptionsBuilderConfiguration> OnConfiguringConfigurations { get; }Public Overridable ReadOnly Property OnConfiguringConfigurations As List(Of OptionsBuilderConfiguration)

    Property Value

  • ScaffoldingUtilities
    ScaffoldingUtilities

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual ScaffoldingUtilities ScaffoldingUtilities { get; }Public Overridable ReadOnly Property ScaffoldingUtilities As ScaffoldingUtilities

    Property Value

  • SequenceConfigurations
    SequenceConfigurations

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual List<SequenceConfiguration> SequenceConfigurations { get; }Public Overridable ReadOnly Property SequenceConfigurations As List(Of SequenceConfiguration)

    Property Value

Methods

  • AddColumnNameAndTypeConfiguration(PropertyConfiguration)
    AddColumnNameAndTypeConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddColumnNameAndTypeConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddColumnNameAndTypeConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddComputedExpressionConfiguration(PropertyConfiguration)
    AddComputedExpressionConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddComputedExpressionConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddComputedExpressionConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddConnectionStringConfiguration()
    AddConnectionStringConfiguration()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddConnectionStringConfiguration()Public Overridable Sub AddConnectionStringConfiguration
  • AddDefaultExpressionConfiguration(PropertyConfiguration)
    AddDefaultExpressionConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddDefaultExpressionConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddDefaultExpressionConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddDefaultValueConfiguration(PropertyConfiguration)
    AddDefaultValueConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddDefaultValueConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddDefaultValueConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddEntityConfiguration(EntityConfiguration)
    AddEntityConfiguration(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddEntityConfiguration(EntityConfiguration entityConfiguration)Public Overridable Sub AddEntityConfiguration(entityConfiguration As EntityConfiguration)

    Parameters

  • AddEntityConfigurations()
    AddEntityConfigurations()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddEntityConfigurations()Public Overridable Sub AddEntityConfigurations
  • AddEntityPropertiesConfiguration(EntityConfiguration)
    AddEntityPropertiesConfiguration(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddEntityPropertiesConfiguration(EntityConfiguration entityConfiguration)Public Overridable Sub AddEntityPropertiesConfiguration(entityConfiguration As EntityConfiguration)

    Parameters

  • AddIndexConfiguration(EntityConfiguration, Index)
    AddIndexConfiguration(EntityConfiguration, Index)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddIndexConfiguration(EntityConfiguration entityConfiguration, Index index)Public Overridable Sub AddIndexConfiguration(entityConfiguration As EntityConfiguration, index As Index)

    Parameters

  • AddIndexConfigurations(EntityConfiguration)
    AddIndexConfigurations(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddIndexConfigurations(EntityConfiguration entityConfiguration)Public Overridable Sub AddIndexConfigurations(entityConfiguration As EntityConfiguration)

    Parameters

  • AddKeyConfiguration(EntityConfiguration)
    AddKeyConfiguration(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddKeyConfiguration(EntityConfiguration entityConfiguration)Public Overridable Sub AddKeyConfiguration(entityConfiguration As EntityConfiguration)

    Parameters

  • AddMaxLengthConfiguration(PropertyConfiguration)
    AddMaxLengthConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddMaxLengthConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddMaxLengthConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddNavigationProperties(EntityConfiguration)
    AddNavigationProperties(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddNavigationProperties(EntityConfiguration entityConfiguration)Public Overridable Sub AddNavigationProperties(entityConfiguration As EntityConfiguration)

    Parameters

  • AddNavigationPropertyInitializers(EntityConfiguration)
    AddNavigationPropertyInitializers(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddNavigationPropertyInitializers(EntityConfiguration entityConfiguration)Public Overridable Sub AddNavigationPropertyInitializers(entityConfiguration As EntityConfiguration)

    Parameters

  • AddPropertyConfiguration(PropertyConfiguration)
    AddPropertyConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddPropertyConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddPropertyConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddRelationshipConfiguration(EntityConfiguration)
    AddRelationshipConfiguration(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddRelationshipConfiguration(EntityConfiguration entityConfiguration)Public Overridable Sub AddRelationshipConfiguration(entityConfiguration As EntityConfiguration)

    Parameters

  • AddRequiredConfiguration(PropertyConfiguration)
    AddRequiredConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddRequiredConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddRequiredConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • AddSequenceConfigurations()
    AddSequenceConfigurations()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddSequenceConfigurations()Public Overridable Sub AddSequenceConfigurations
  • AddTableNameConfiguration(EntityConfiguration)
    AddTableNameConfiguration(EntityConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddTableNameConfiguration(EntityConfiguration entityConfiguration)Public Overridable Sub AddTableNameConfiguration(entityConfiguration As EntityConfiguration)

    Parameters

  • AddValueGeneratedConfiguration(PropertyConfiguration)
    AddValueGeneratedConfiguration(PropertyConfiguration)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual void AddValueGeneratedConfiguration(PropertyConfiguration propertyConfiguration)Public Overridable Sub AddValueGeneratedConfiguration(propertyConfiguration As PropertyConfiguration)

    Parameters

  • ClassName()
    ClassName()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual string ClassName()Public Overridable Function ClassName As String

    Returns

    • System.String
      System.String
  • GetEntityConfiguration(EntityType)
    GetEntityConfiguration(EntityType)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual EntityConfiguration GetEntityConfiguration(EntityType entityType)Public Overridable Function GetEntityConfiguration(entityType As EntityType) As EntityConfiguration

    Parameters

    Returns

  • Namespace()
    Namespace()

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual string Namespace()Public Overridable Function Namespace As String

    Returns

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll