PathSegment Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
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
abstract
An index of an element which is being accessed in the JSON array.
Applies to
PathSegment(String)
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
Entity Framework