RelationalAnnotationProvider.FindJsonElement(IPropertyBase, ITable) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在給定資料表上解決給定性質的 。IRelationalJsonElement 所有 JSON 元素映射在收集表格索引註解前都會被填入,因此預期任何到達此程式碼路徑的屬性都應該存在映射。
protected static Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement FindJsonElement(Microsoft.EntityFrameworkCore.Metadata.IPropertyBase property, Microsoft.EntityFrameworkCore.Metadata.ITable table);
static member FindJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase * Microsoft.EntityFrameworkCore.Metadata.ITable -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
Protected Shared Function FindJsonElement (property As IPropertyBase, table As ITable) As IRelationalJsonElement
參數
- property
- IPropertyBase
參與指數的性質(純量或複數)。
- table
- ITable
包含索引的表格。
傳回
給定資料表上的 JSON 元素。