public void OrderByInt() { DataAssert.Same <WebUser>(q => q.OrderBy(w => w.Id)); }
public void GroupByDateTime() { DataAssert.Same((IQueryable <WebUser> q) => q.GroupBy(w => w.Joined).Select(g => KeyValuePair.Create(g.Key, g.Count())), true); }
public void OrderByStringDescendingThenByDateTimeDescending() { DataAssert.Same <WebUser>(q => q.OrderByDescending(w => w.Forename).ThenByDescending(w => w.Joined)); }
public void OrderByDateTimeDescending() { DataAssert.Same <WebUser>(q => q.OrderByDescending(w => w.Joined)); }
public void OrderByStringDescending() { DataAssert.Same <WebUser>(q => q.OrderByDescending(w => w.Username)); }
public void OrderByIntDescending() { DataAssert.Same <WebUser>(q => q.OrderByDescending(w => w.Id)); }
public void OrderByDateTime() { DataAssert.Same <WebUser>(q => q.OrderBy(w => w.Joined)); }