JsonQueryExpression.FindJsonElement(IPropertyBase) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
IRelationalJsonElement查找ColumnJsonColumnContainingColumn此表达式引用的 JSON 列中给定的属性/导航/复杂属性(如果不存在此类元素(包括没有基础Column元素(JsonColumn例如,对于 OPENJSON /json_each 的合成 JSON 扩展,或对于没有 JSON 表示形式的阴影键)引用的属性,则返回null该属性。
public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement? FindJsonElement(Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member FindJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
override this.FindJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
Public Overridable Function FindJsonElement (propertyBase As IPropertyBase) As IRelationalJsonElement
参数
- propertyBase
- IPropertyBase
要查找的属性、导航或复杂属性。
返回
或null找不到的 propertyBaseJSON 元素映射。