JsonQueryExpression.FindJsonElement(IPropertyBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Finds the IRelationalJsonElement for the given property/navigation/complex property within the
JSON column referenced by this expression by matching JsonColumn's underlying
Column against ContainingColumn, or returns
null if no such element exists (including when JsonColumn has no underlying
Column, e.g. for synthetic JSON expansions over OPENJSON / json_each, or for
iterated properties such as shadow keys that have no JSON representation).
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
Parameters
- propertyBase
- IPropertyBase
The property, navigation or complex property to look up.
Returns
The JSON element mapping for propertyBase, or null if not found.