Language

RelationalAnnotationProvider.CreateJsonIndex(IIndex, ITableIndex) メソッド

定義

特定のマップされた JSON インデックスの RelationalJsonIndex を構築します。

protected virtual Microsoft.EntityFrameworkCore.Metadata.RelationalJsonIndex CreateJsonIndex(Microsoft.EntityFrameworkCore.Metadata.IIndex modelIndex, Microsoft.EntityFrameworkCore.Metadata.ITableIndex tableIndex);
abstract member CreateJsonIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalJsonIndex
override this.CreateJsonIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.ITableIndex -> Microsoft.EntityFrameworkCore.Metadata.RelationalJsonIndex
Protected Overridable Function CreateJsonIndex (modelIndex As IIndex, tableIndex As ITableIndex) As RelationalJsonIndex

パラメーター

modelIndex
IIndex

マップされた JSON インデックス。

tableIndex
ITableIndex

注釈が付けられたマップされたテーブル インデックス。

戻り値

JSON パスを説明する RelationalJsonIndex 。

注釈

プロバイダーはこれをオーバーライドして、JSON インデックス要素の解決をカスタマイズできます。 基本実装では、リーフが JSON マップ複合型内のスカラー プロパティであるか、または型自体が JSON マップであるコレクション以外の複合プロパティであるインデックスを処理します。 オーバーライドする場合は、 FindJsonElement(IPropertyBase, ITable) を使用して、インデックスのテーブルの個々のプロパティの JSON 要素を解決します。

適用対象