语言

StructuredJsonPath 构造函数

定义

创建新的 StructuredJsonPath 实例。

public StructuredJsonPath(System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.StructuredJsonPathSegment> segments, System.Collections.Generic.IReadOnlyList<int?>? indices);
new Microsoft.EntityFrameworkCore.Infrastructure.StructuredJsonPath : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.StructuredJsonPathSegment> * System.Collections.Generic.IReadOnlyList<Nullable<int>> -> Microsoft.EntityFrameworkCore.Infrastructure.StructuredJsonPath
Public Sub New (segments As IReadOnlyList(Of StructuredJsonPathSegment), indices As IReadOnlyList(Of Nullable(Of Integer)))

参数

segments
IReadOnlyList<StructuredJsonPathSegment>

路径段。

indices
IReadOnlyList<Nullable<Int32>>

数组索引占位符的索引值。 每个段必须有一个条目,其中 IsArray 。true 条目 null 表示索引器未指定(所有元素),并且默认呈现为 [*] 或呈现为 []。

适用于