RelationalModelValidator.ValidateJsonEntityProperties 方法

定义

验证映射到 JSON 列的实体的属性。

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

参数

storeObject
StoreObjectIdentifier

存储对象。

jsonEntityType
IEntityType

包含要验证的属性的实体类型。

适用于