語言

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);
protected virtual void ValidateJsonEntityKey(in Microsoft.EntityFrameworkCore.Metadata.StoreObjectIdentifier table, Microsoft.EntityFrameworkCore.Metadata.IEntityType jsonEntityType);
abstract member ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
override this.ValidateJsonEntityKey : StoreObjectIdentifier * Microsoft.EntityFrameworkCore.Metadata.IEntityType -> unit
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)
Protected Overridable Sub ValidateJsonEntityKey (table As StoreObjectIdentifier, jsonEntityType As IEntityType)

Parameters

storeObjecttable
StoreObjectIdentifier

The store object.

jsonEntityType
IEntityType

The entity type containing the key to validate.

Applies to