共用方式為


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

store 物件。

jsonEntityType
IEntityType

包含要驗證之屬性的實體類型。

適用於