Langue

RelationalModelValidator.ValidateDbFunctionMapping Méthode

Définition

Valide le mappage de fonction pour un type d’entité.

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

Paramètres

entityType
IEntityType

Type d’entité à valider.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Enregistreur d’événements à utiliser.

S’applique à