Compartir a través de


RelationalModelValidator.ValidateIndexProperties Método

Definición

Valida que las propiedades de cualquier índice se asignan a columnas en al menos una tabla común.

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

Modelo que se va a validar.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

El registrador que se va a usar.

Se aplica a