protected virtual Expression VisitRowNumber(RowNumberExpression rowNumber)
        {
            var orderby = this.VisitOrderBy(rowNumber.OrderBy);

            if (orderby != rowNumber.OrderBy)
            {
                return(new RowNumberExpression(orderby));
            }
            return(rowNumber);
        }
Esempio n. 2
0
 protected virtual bool CompareRowNumber(RowNumberExpression a, RowNumberExpression b)
 {
     return(CompareOrderList(a.OrderBy, b.OrderBy));
 }