Partilhar via


RelationalModelValidator.ValidateIndexProperties Método

Definição

Valida se as propriedades de qualquer índice são mapeadas para colunas em pelo menos uma tabela comum.

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))

Parâmetros

model
IModel

O modelo a ser validado.

Aplica-se a