public override void AddOrderBy(DynamicQuery countAll, MyGeneration.dOOdads.WhereParameter.Dir direction) { if (countAll.CountAll) { base.AddOrderBy("COUNT(*)", direction); } }
public override void AddOrderBy(AggregateParameter aggregate, MyGeneration.dOOdads.WhereParameter.Dir direction) { base.AddOrderBy(GetAggregate(aggregate, false), direction); }
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); }