OrderingExpression Class
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.
An expression that represents an ordering in a SQL tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class OrderingExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
public class OrderingExpression : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type OrderingExpression = class
inherit Expression
interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type OrderingExpression = class
inherit Expression
interface IPrintableExpression
Public Class OrderingExpression
Inherits Expression
Implements IPrintableExpression
- Inheritance
-
OrderingExpression
- Attributes
- Implements
Constructors
OrderingExpression(SqlExpression, Boolean) |
Creates a new instance of the OrderingExpression class. |
Properties
Expression |
The expression used for ordering. |
IsAscending |
The value indicating if the ordering is ascending. |
NodeType | Gets the node type of this Expression. |
Type | Gets the static type of the expression that this Expression represents. |
Methods
Equals(Object) | System.Linq.Expressions.Expression.Equals(System.Object) |
GetHashCode() | System.Linq.Expressions.Expression.GetHashCode |
Print(ExpressionPrinter) | |
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. |
Applies to
Entity Framework