語言

RelationalModelValidator.ValidateJsonEntitySingularMapping 方法

定義

驗證映射到 JSON 欄位的實體的單一(非集合)映射特性。

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

參數

table
StoreObjectIdentifier

資料表識別碼。

jsonEntityType
IEntityType

要驗證的實體類型。

適用於