Udostępnij za pośrednictwem


RelationalModelValidator.ValidateMappingFragments Metoda

Definicja

Sprawdza poprawność fragmentów mapowania typu jednostki.

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

Parametry

model
IModel

Model do zweryfikowania.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy