Table of Contents

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 string

A 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

string

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string