RelationalAnnotationProvider.FindJsonElement(IPropertyBase, ITable) 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.
Resolves the IRelationalJsonElement for the given property on the given table. All JSON element mappings are populated before table-index annotations are gathered, so a mapping is expected to exist for any property reaching this code path.
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
Parameters
- property
- IPropertyBase
The property (scalar or complex) participating in the index.
- table
- ITable
The table containing the index.
Returns
The JSON element on the given table.