Пример #1
0
        protected virtual Expression VisitRowNumber(RowNumberExpression rowNumber)
        {
            var orderby = this.VisitOrderBy(rowNumber.OrderBy);

            if (orderby != rowNumber.OrderBy)
            {
                return(new RowNumberExpression(orderby));
            }
            return(rowNumber);
        }
Пример #2
0
 protected virtual bool CompareRowNumber(RowNumberExpression a, RowNumberExpression b)
 {
     return(CompareOrderList(a.OrderBy, b.OrderBy));
 }