Udostępnij za pośrednictwem


ModelValidator.ValidateIgnoredMembers Metoda

Definicja

Sprawdza, czy nie podjęto próby zignorowania dziedziczynych właściwości.

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))

Parametry

model
IModel

Model.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy