Langue

RelationalModelValidator.ValidateJsonEntityOwnerMappedToTableOrView Method

Definition

Validates that an entity type owning a JSON entity is mapped to a table or view.

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

Parameters

entityType
IEntityType

The entity type to validate.

Applies to