OrderExpression

Overview

The OrderExpression class is used internally to process the OrderBy part of the DA LINQ query.

This class is used to sort input data in either descending or ascending order. The sort criteria is represented by the Expression field.

For internal use only.

Location

Properties


Expression

Represents the sort statement that specifies the key on which records should be sorted.

 

property Expression: Expression read;

 

Expression Expression { get; }

 

ReadOnly Property Expression() As Expression

OrderType

Sorting order. Can be either descending or ascending.

 

property OrderType: OrderType read;

 

OrderType OrderType { get; }

 

ReadOnly Property OrderType() As OrderType

Instance Methods


constructor

 

constructor(orderType: OrderType; expression: Expression)

 

OrderExpression(OrderType orderType, Expression expression)

 

Sub New(orderType As OrderType, expression As Expression)

Parameters:

  • orderType:
  • expression:

ToString

Converts the expression into an ORDER BY part of the SQL query.

 

method ToString: String

 

String ToString()

 

Function ToString() As String