語言

RelationalJsonIndex Constructor

Definition

Creates a new RelationalJsonIndex instance.

public RelationalJsonIndex(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement> elements, System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<int?>?>? collectionIndices, System.Collections.Generic.IReadOnlyList<bool>? isDescending = default);
new Microsoft.EntityFrameworkCore.Metadata.RelationalJsonIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IRelationalJsonElement> * System.Collections.Generic.IReadOnlyList<System.Collections.Generic.IReadOnlyList<Nullable<int>>> * System.Collections.Generic.IReadOnlyList<bool> -> Microsoft.EntityFrameworkCore.Metadata.RelationalJsonIndex
Public Sub New (elements As IReadOnlyList(Of IRelationalJsonElement), collectionIndices As IReadOnlyList(Of IReadOnlyList(Of Nullable(Of Integer))), Optional isDescending As IReadOnlyList(Of Boolean) = Nothing)

Parameters

elements
IReadOnlyList<IRelationalJsonElement>

The JSON elements targeted by the index, one per indexed property.

collectionIndices
IReadOnlyList<IReadOnlyList<Nullable<Int32>>>

The complex-collection indices traversed to reach each indexed property, parallel to elements.

isDescending
IReadOnlyList<Boolean>

The sort order requested for each indexed JSON element, parallel to elements, or null if every element uses ascending order.

Applies to