Class PathSegment
- Namespace
- Microsoft.EntityFrameworkCore.Query
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
A class representing a component of JSON path used in JsonQueryExpression or JsonScalarExpression.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class PathSegment
- Inheritance
-
PathSegment
- Inherited Members
Constructors
PathSegment(string)
Creates a new instance of the PathSegment class.
public PathSegment(string key)
Parameters
key
stringA key which is being accessed in the JSON.
Properties
Key
The key which is being accessed in the JSON.
public virtual string Key { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()