語言

RelationalAnnotationProvider.FindJsonElement(IPropertyBase, ITable) 方法

定義

在給定資料表上解決給定性質的 。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 元素。

適用於