Język

RelationalAnnotationProvider.FindJsonElement(IPropertyBase, ITable) Metoda

Definicja

IRelationalJsonElement Rozpoznaje właściwość dla danej właściwości w danej tabeli. Wszystkie mapowania elementów JSON są wypełniane przed zebraniem adnotacji indeksu tabeli, więc mapowanie ma istnieć dla każdej właściwości docierającej do tej ścieżki kodu.

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

Parametry

property
IPropertyBase

Właściwość (skalarna lub złożona) uczestnicząca w indeksie.

table
ITable

Tabela zawierająca indeks.

Zwraca

Element JSON w danej tabeli.

Dotyczy