RelationalModelValidator RelationalModelValidator 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 RelationalModelValidator : LoggingModelValidator, IModelValidatorPublic Class RelationalModelValidator
    Inherits LoggingModelValidator
    Implements IModelValidator

Inheritance Hierarchy

Inherited Members

Logger,
Logger,
ShowWarning(String),
ShowWarning(String),
EnsureNoShadowEntities(IModel),
EnsureNoShadowEntities(IModel),
EnsureNoShadowKeys(IModel),
EnsureNoShadowKeys(IModel),
EnsureNonNullPrimaryKeys(IModel),
EnsureNonNullPrimaryKeys(IModel),
EnsureClrInheritance(IModel),
EnsureClrInheritance(IModel),
EnsureChangeTrackingStrategy(IModel),
EnsureChangeTrackingStrategy(IModel),
EnsureFieldMapping(IModel),
EnsureFieldMapping(IModel),
ShowError(String),
ShowError(String),
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.

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.

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.

Constructors

  • RelationalModelValidator(ILogger<RelationalModelValidator>, IRelationalAnnotationProvider, IRelationalTypeMapper)
    RelationalModelValidator(ILogger(Of RelationalModelValidator), IRelationalAnnotationProvider, IRelationalTypeMapper)

    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 RelationalModelValidator(ILogger<RelationalModelValidator> loggerFactory, IRelationalAnnotationProvider relationalExtensions, IRelationalTypeMapper typeMapper)Public Sub New(loggerFactory As ILogger(Of RelationalModelValidator), relationalExtensions As IRelationalAnnotationProvider, typeMapper As IRelationalTypeMapper)

    Parameters

Properties

  • RelationalExtensions
    RelationalExtensions

    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 virtual IRelationalAnnotationProvider RelationalExtensions { get; }Protected Overridable ReadOnly Property RelationalExtensions As IRelationalAnnotationProvider

    Property Value

  • TypeMapper
    TypeMapper

    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 virtual IRelationalTypeMapper TypeMapper { get; }Protected Overridable ReadOnly Property TypeMapper As IRelationalTypeMapper

    Property Value

Methods

  • EnsureDataTypes(IModel)
    EnsureDataTypes(IModel)

    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 virtual void EnsureDataTypes(IModel model)Protected Overridable Sub EnsureDataTypes(model As IModel)

    Parameters

  • EnsureDistinctTableNames(IModel)
    EnsureDistinctTableNames(IModel)

    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 virtual void EnsureDistinctTableNames(IModel model)Protected Overridable Sub EnsureDistinctTableNames(model As IModel)

    Parameters

  • EnsureNoDefaultValuesOnKeys(IModel)
    EnsureNoDefaultValuesOnKeys(IModel)

    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 virtual void EnsureNoDefaultValuesOnKeys(IModel model)Protected Overridable Sub EnsureNoDefaultValuesOnKeys(model As IModel)

    Parameters

  • EnsureSharedColumnsCompatibility(IModel)
    EnsureSharedColumnsCompatibility(IModel)

    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 virtual void EnsureSharedColumnsCompatibility(IModel model)Protected Overridable Sub EnsureSharedColumnsCompatibility(model As IModel)

    Parameters

  • EnsureSharedForeignKeysCompatibility(IModel)
    EnsureSharedForeignKeysCompatibility(IModel)

    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 virtual void EnsureSharedForeignKeysCompatibility(IModel model)Protected Overridable Sub EnsureSharedForeignKeysCompatibility(model As IModel)

    Parameters

  • EnsureSharedIndexesCompatibility(IModel)
    EnsureSharedIndexesCompatibility(IModel)

    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 virtual void EnsureSharedIndexesCompatibility(IModel model)Protected Overridable Sub EnsureSharedIndexesCompatibility(model As IModel)

    Parameters

  • Validate(IModel)
    Validate(IModel)

    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 override void Validate(IModel model)Public Overrides Sub Validate(model As IModel)

    Parameters

  • ValidateInheritanceMapping(IModel)
    ValidateInheritanceMapping(IModel)

    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 virtual void ValidateInheritanceMapping(IModel model)Protected Overridable Sub ValidateInheritanceMapping(model As IModel)

    Parameters

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll