Пример #1
0
 public HqlOrderBy(IASTFactory factory, HqlTreeNode expression, HqlDirection hqlDirection)
     : base(HqlSqlWalker.ORDER, "", factory, expression,
            hqlDirection == HqlDirection.Ascending ?
                 (HqlTreeNode)new HqlDirectionAscending(factory) : (HqlTreeNode)new HqlDirectionDescending(factory))
 {
 }
Пример #2
0
 public HqlOrderBy OrderBy(HqlTreeNode expression, HqlDirection hqlDirection)
 {
     return new HqlOrderBy(_factory, expression, hqlDirection);
 }