共用方式為


RelationalModelValidator.ValidateJsonEntityKey 方法

定義

驗證對應至 JSON 資料行之實體的索引鍵。

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)

參數

storeObject
StoreObjectIdentifier

store 物件。

jsonEntityType
IEntityType

包含要驗證之索引鍵的實體類型。

適用於