예제 #1
0
 public override void AddOrderBy(DynamicQuery countAll, MyGeneration.dOOdads.WhereParameter.Dir direction)
 {
     if (countAll.CountAll)
     {
         base.AddOrderBy("COUNT(*)", direction);
     }
 }
예제 #2
0
 public override void AddOrderBy(AggregateParameter aggregate, MyGeneration.dOOdads.WhereParameter.Dir direction)
 {
     base.AddOrderBy(GetAggregate(aggregate, false), direction);
 }
예제 #3
0
 public override void AddOrderBy(string column, MyGeneration.dOOdads.WhereParameter.Dir direction)
 {
     base.AddOrderBy(D(column), direction);
 }
 public override void AddOrderBy(AggregateParameter aggregate, MyGeneration.dOOdads.WhereParameter.Dir direction)
 {
     base.AddOrderBy("`" + aggregate.Alias + "`", direction);
 }