RelationalModelValidator.ValidateJsonEntityKey Method

Definition

Validate the key of entity mapped to a JSON column.

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

Parameters

storeObject
StoreObjectIdentifier

The store object.

jsonEntityType
IEntityType

The entity type containing the key to validate.

Applies to