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

Location

Properties


OrderBy

Contains collection of order by conditions

 

property OrderBy: ReadOnlyCollection<OrderExpression> read;

 

ReadOnlyCollection<OrderExpression> OrderBy { get; }

 

Property ReadOnly OrderBy As ReadOnlyCollection<OrderExpression>

Instance Methods


constructor

 

constructor(orderBy: System.Collections.Generic.IEnumerable<OrderExpression>)

 

RowNumberExpression(System.Collections.Generic.IEnumerable<OrderExpression> orderBy)

 

Sub New (orderBy As System.Collections.Generic.IEnumerable<OrderExpression>)

Parameters:

  • orderBy: