Lenguaje

RelationalAnnotationProvider.FindJsonElement(IPropertyBase, ITable) Method

Definition

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.

Applies to