Share via


PathSegment Constructors

Definition

Overloads

Name Description
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
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

An 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
Source:
PathSegment.cs

Creates a new PathSegment struct representing JSON property access.

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

Parameters

propertyNamekey
String

A name of JSON property which is being accessed.

Applies to