Exemplo n.º 1
0
 protected RowNumberExpression UpdateRowNumber(RowNumberExpression rowNumber, IEnumerable <OrderExpression> orderBy)
 {
     if (orderBy != rowNumber.OrderBy)
     {
         return(new RowNumberExpression(orderBy));
     }
     return(rowNumber);
 }
Exemplo n.º 2
0
 protected override Expression VisitRowNumber(RowNumberExpression rowNumber)
 {
     throw new NotSupportedException();
 }
Exemplo n.º 3
0
        protected virtual Expression VisitRowNumber(RowNumberExpression rowNumber)
        {
            var orderby = VisitOrderBy(rowNumber.OrderBy);

            return(UpdateRowNumber(rowNumber, orderby));
        }
 protected virtual bool CompareRowNumber(RowNumberExpression a, RowNumberExpression b)
 {
     return(this.CompareOrderList(a.OrderBy, b.OrderBy));
 }