SqlExpression Class

Definition

An expression that represents a scalar value or a SQL token in a SQL tree.

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

public abstract class SqlExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
public abstract class SqlExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type SqlExpression = class
    inherit Expression
    interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type SqlExpression = class
    inherit Expression
    interface IPrintableExpression
Public MustInherit Class SqlExpression
Inherits Expression
Implements IPrintableExpression
Inheritance
SqlExpression
Derived
Attributes
Implements

Constructors

SqlExpression(Type, RelationalTypeMapping)

Creates a new instance of the SqlExpression class.

Properties

NodeType

Gets the node type of this Expression.

Type

Gets the static type of the expression that this Expression represents.

TypeMapping

The RelationalTypeMapping associated with this expression.

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.

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.

Applies to