NHibernate.Linq.GroupBy
Namespace with 4 public types
Classes
ClientSideSelect
ClientSideSelect2
Static Classes
AggregatingGroupByRewriter
An AggregatingGroupBy is a query such as:
from p in db.Products
group p by p.Category.CategoryId
into g
select new
{
g.Key,
MaxPrice = g.Max(p => p.UnitPrice)
};
Where the grouping operation is being fully aggregated and hence does not create any form of hierarchy.
This class takes such queries, flattens out the re-linq sub-query and re-writes the outer select
NonAggregatingGroupByRewriter