Partager via


ModelValidator.ValidateIgnoredMembers Méthode

Définition

Vérifie qu’aucune tentative n’est effectuée pour ignorer les propriétés héritées.

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

Paramètres

model
IModel

Modèle.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d'événements à utiliser.

S’applique à