Duplicate
Details
Details
Assignee
Tuna Toksoz
Tuna ToksozReporter
PertaB
PertaBComponents
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created September 19, 2008 at 6:56 AM
Updated September 4, 2015 at 2:29 PM
Resolved September 4, 2015 at 2:29 PM
The Projections.GroupProperty factory method creates a PropertyProjection with the "IsGroup" flag set to true. But unfortunately, this projection automatically inserts the property in the SELECT clause also. I didn't found any way to add the property just to the GROUP BY clause, so I made a patch with some minor changes to the Projections, PropertyProjection and ProjectionList classes.
Please take a look, and if you find it is a required function, add it to the new NH version. (Personally I need to give my "Query Builder" user the chance to create a GROUP BY clause without necessarily add that property to the SELECT clause, so I find it very important)
Best regards,
Bogdan