RelationalJsonIndex 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建新的 RelationalJsonIndex 实例。
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)
参数
- elements
- IReadOnlyList<IRelationalJsonElement>
索引的目标 JSON 元素,每个索引属性一个。
- collectionIndices
- IReadOnlyList<IReadOnlyList<Nullable<Int32>>>
遍历复杂集合索引以并行 elements访问每个索引属性。
- isDescending
- IReadOnlyList<Boolean>
为每个索引 JSON 元素请求的排序顺序、并行顺序 elements或 null 每个元素是否使用升序。