RowNumberExpression

Overview

RowNumberExpression is a class used for processing DA LINQ expressions, containing one or moreorderby expressions, into DataAbstract classes.

For example it's used in processing LINQ queries like next one:

 var lQuery =
                from w in db.Workers
                where w.WorkerCity.Contains("Atlanta")
                orderby 2 descending
                select new { w.WorkerID, FullName = w.WorkerFirstName + " " + w.WorkerLastName }
                ;

In this case when transforming to classes "2" will become RowNumberExpression with one OrderExpression

For internal use only.

Location

Properties


OrderBy

Contains collection of order by conditions

 

property OrderBy: ReadOnlyCollection<OrderExpression> read;

 

ReadOnlyCollection<OrderExpression> OrderBy { get; }

 

ReadOnly Property OrderBy() As ReadOnlyCollection<OrderExpression>

Instance Methods


constructor

 

constructor(orderBy: IEnumerable<OrderExpression>)

 

RowNumberExpression(IEnumerable<OrderExpression> orderBy)

 

Sub New(orderBy As IEnumerable<OrderExpression>)

Parameters:

  • orderBy: