JsonScalarExpression Class

Definition

An expression representing a scalar extracted from a JSON column with the given path in SQL tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class JsonScalarExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
type JsonScalarExpression = class
    inherit SqlExpression
Public Class JsonScalarExpression
Inherits SqlExpression
Inheritance
JsonScalarExpression

Constructors

JsonScalarExpression(ColumnExpression, IProperty, IReadOnlyList<PathSegment>, Boolean)

Creates a new instance of the JsonScalarExpression class.

JsonScalarExpression(SqlExpression, IReadOnlyList<PathSegment>, Type, RelationalTypeMapping, Boolean)

Creates a new instance of the JsonScalarExpression class.

Properties

IsNullable

The value indicating whether the expression is nullable.

Json

The expression containing the JSON value.

JsonColumn

The column containg JSON value.

NodeType (Inherited from SqlExpression)
Path

The list of path segments leading to the scalar from the root of the JSON stored in the column.

Type (Inherited from SqlExpression)
TypeMapping

The RelationalTypeMapping associated with this expression.

(Inherited from SqlExpression)

Methods

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Update(ColumnExpression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Update(SqlExpression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

(Inherited from SqlExpression)

Applies to