Share via


RelationalModelValidator.ValidateJsonEntityRoot Method

Definition

Validates the root entity mapped to a JSON column.

protected virtual void ValidateJsonEntityRoot (in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier storeObject, Microsoft.EntityFrameworkCore.Metadata.IEntityType rootType);
abstract member ValidateJsonEntityRoot : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.ValidateJsonEntityRoot : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
Protected Overridable Sub ValidateJsonEntityRoot (storeObject As StoreObjectIdentifier, rootType As IEntityType)

Parameters

storeObject
StoreObjectIdentifier

The store object.

rootType
IEntityType

The entity type to validate.

Applies to