共用方式為


RelationalModelValidator.ValidateJsonEntityNavigations 方法

定義

驗證對應至 JSON 資料行之實體的導覽。

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

參數

storeObject
StoreObjectIdentifier

store 物件。

jsonEntityType
IEntityType

要驗證的實體類型。

適用於