Partager via


ModelValidator.ValidatePrimitiveCollections Méthode

Définition

Valide le mappage des propriétés de collection primitives du modèle.

protected virtual void ValidatePrimitiveCollections (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> logger);
abstract member ValidatePrimitiveCollections : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
override this.ValidatePrimitiveCollections : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Model.Validation> -> unit
Protected Overridable Sub ValidatePrimitiveCollections (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 à