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

Constructors

RelationalModelValidator(ILogger, 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

Logger Logger

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.

(Inherited from LoggingModelValidator)

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

EnsureChangeTrackingStrategy(IModel) EnsureChangeTrackingStrategy(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.

(Inherited from ModelValidator)

EnsureClrInheritance(IModel) EnsureClrInheritance(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.

(Inherited from ModelValidator)

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

EnsureFieldMapping(IModel) EnsureFieldMapping(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.

(Inherited from ModelValidator)

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

EnsureNonNullPrimaryKeys(IModel) EnsureNonNullPrimaryKeys(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.

(Inherited from ModelValidator)

EnsureNoShadowEntities(IModel) EnsureNoShadowEntities(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.

(Inherited from ModelValidator)

EnsureNoShadowKeys(IModel) EnsureNoShadowKeys(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.

(Inherited from ModelValidator)

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ShowError(String) ShowError(String)

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.

(Inherited from ModelValidator)

ShowWarning(String) ShowWarning(String)

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.

(Inherited from LoggingModelValidator)

ToString() ToString()

Inherited from System.Object

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