Beispiel #1
0
 public QLinOrderBy(QLinRoot root, object expression, QLinOrderByDirection direction
                    ) : base(root)
 {
     _node = root.Descend(expression);
     if (direction == QLinSupport.Ascending())
     {
         _node.OrderAscending();
     }
     else
     {
         _node.OrderDescending();
     }
 }
Beispiel #2
0
 public abstract IQLin OrderBy(object arg1, QLinOrderByDirection arg2);
Beispiel #3
0
 public override IQLin OrderBy(object expression, QLinOrderByDirection direction)
 {
     return(new QLinOrderBy(Root(), expression, direction));
 }