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