RelationalModelValidator.ValidateIndexProperties Method

Definition

Validates that the properties of any one index are all mapped to columns on at least one common table.

protected virtual void ValidateIndexProperties (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidateIndexProperties : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidateIndexProperties : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidateIndexProperties (model As IModel, logger As IDiagnosticsLogger(Of DbLoggerCategory.Model.Validation))

Parameters

model
IModel

The model to validate.

Applies to