public void GroupByOrdersAfterHavingFrom() { GroupBy groupBy = new GroupBy(); From from = new From("Foo"); from.SetGroupBy(groupBy); groupBy.OrderBy("Name", true); Assert.AreEqual("from Foo order by Name desc", from.Clause); }
public void GroupByOrdersAfterHavingFrom() { GroupBy groupBy = new GroupBy(); From from = new From("Foo"); from.SetGroupBy(groupBy); groupBy.OrderBy("Name", true); Assert.AreEqual("from Foo order by Name desc", from.Clause); }