Udostępnij za pośrednictwem


RelationalModelValidator.ValidateSqlQueries Metoda

Definicja

Weryfikuje mapowanie/konfigurację zapytań SQL w modelu.

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

Parametry

model
IModel

Model do weryfikacji.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Rejestrator do użycia.

Dotyczy