语言

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 元素。

适用于