Share via


PathSegment Constructors

Definition

Overloads

PathSegment(SqlExpression)

Creates a new PathSegment struct representing JSON array element access.

PathSegment(String)

Creates a new PathSegment struct representing JSON property access.

PathSegment(SqlExpression)

Source:
PathSegment.cs
Source:
PathSegment.cs

Creates a new PathSegment struct representing JSON array element access.

public PathSegment (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression arrayIndex);
new Microsoft.EntityFrameworkCore.Query.PathSegment : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.PathSegment
Public Sub New (arrayIndex As SqlExpression)

Parameters

arrayIndex
SqlExpression

abstractAn index of an element which is being accessed in the JSON array.

Applies to

PathSegment(String)

Source:
PathSegment.cs
Source:
PathSegment.cs
Source:
PathSegment.cs

Creates a new PathSegment struct representing JSON property access.

public PathSegment (string key);
public PathSegment (string propertyName);
new Microsoft.EntityFrameworkCore.Query.PathSegment : string -> Microsoft.EntityFrameworkCore.Query.PathSegment
new Microsoft.EntityFrameworkCore.Query.PathSegment : string -> Microsoft.EntityFrameworkCore.Query.PathSegment
Public Sub New (key As String)
Public Sub New (propertyName As String)

Parameters

keypropertyName
String

A key which is being accessed in the JSON.

Applies to