Поделиться через


RelationalModelValidator.ValidateJsonEntities Метод

Определение

Проверяет сущности JSON.

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

Параметры

model
IModel

Проверяемая модель.

logger
IDiagnosticsLogger<DbLoggerCategory.Model.Validation>

Используемое средство ведения журнала.

Применяется к