示例#1
0
 protected virtual Expression VisitRowNumber(RowNumberExpression rowNumber)
 {
     var orderby = this.VisitOrderBy(rowNumber.OrderBy);
     return this.UpdateRowNumber(rowNumber, orderby);
 }
示例#2
0
 protected override Expression VisitRowNumber(RowNumberExpression rowNumber)
 {
     throw new NotSupportedException();
 }
示例#3
0
 protected RowNumberExpression UpdateRowNumber(RowNumberExpression rowNumber, IEnumerable<OrderExpression> orderBy)
 {
     if (orderBy != rowNumber.OrderBy)
     {
         return new RowNumberExpression(orderBy);
     }
     return rowNumber;
 }
示例#4
0
 protected virtual bool CompareRowNumber(RowNumberExpression a, RowNumberExpression b)
 {
     return this.CompareOrderList(a.OrderBy, b.OrderBy);
 }