Partager via


RelationalModelValidator.ValidateNoMutableKeys Méthode

Définition

Valide le mappage/la configuration de mutable dans le modèle.

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

Paramètres

model
IModel

Modèle à valider.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d'événements à utiliser.

S’applique à