RelationalModelValidator.ValidateJsonEntitySingularMapping 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
驗證映射到 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
要驗證的實體類型。