JsonQueryExpression.GetJsonElement(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. This
disambiguates entity-splitting, TPT and TPC scenarios where the same property has multiple JSON element
mappings β one per concrete table.
PropertyName may be null for shadow keys that have
no JSON representation; callers iterating over GetProperties() must handle that case
and skip them.
public virtual Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement GetJsonElement(Microsoft.EntityFrameworkCore.Metadata.IPropertyBase propertyBase);
abstract member GetJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
override this.GetJsonElement : Microsoft.EntityFrameworkCore.Metadata.IPropertyBase -> Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement
Public Overridable Function GetJsonElement (propertyBase As IPropertyBase) As IRelationalJsonElement
Parameters
- propertyBase
- IPropertyBase
The property, navigation or complex property to look up.
Returns
The JSON element mapping for propertyBase.