Partilhar via


ModelValidator.ValidateInheritanceMapping Método

Definição

Valida o mapeamento de herança no modelo.

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

Parâmetros

model
IModel

O modelo a ser validado.

Aplica-se a