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 heirarchy. This class takes such queries, flattens out the re-linq sub-query and re-writes the outer select

Namespace: NHibernate.Linq.GroupBy
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public class AggregatingGroupByRewriter
Visual Basic
Public Class AggregatingGroupByRewriter
Visual C++
public ref class AggregatingGroupByRewriter

Inheritance Hierarchy

System..::..Object
  NHibernate.Linq.GroupBy..::..AggregatingGroupByRewriter

See Also