Relational​Model​Validator Relational​Model​Validator Class

Definition

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 class RelationalModelValidator : LoggingModelValidator, IModelValidatorPublic Class RelationalModelValidator
    Inherits LoggingModelValidator
    Implements IModelValidator
Inheritance
System.ObjectSystem.Object
RelationalModelValidatorRelationalModelValidator
Implements

Inherited Members

Microsoft.EntityFrameworkCore.Internal.LoggingModelValidator

ShowWarning(System.String)ShowWarning(System.String)

Microsoft.EntityFrameworkCore.Internal.ModelValidator

System.Object

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

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
loggerFactory
ILogger<RelationalModelValidator> ILogger(Of RelationalModelValidator)

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

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

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
model
IModel IModel

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
model
IModel IModel

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
model
IModel IModel

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
model
IModel IModel

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
model
IModel IModel

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
model
IModel IModel

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
model
IModel IModel
Overrides

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
model
IModel IModel