From: Patrick E. (JIRA) <nh...@gm...> - 2011-06-28 05:57:04
|
[ http://216.121.112.228/browse/NH-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Patrick Earl resolved NH-2118. ------------------------------ Resolution: Fixed Fix Version/s: 3.2.0CR1 Assignee: Patrick Earl > GroupBy without Select doesnt work > ---------------------------------- > > Key: NH-2118 > URL: http://216.121.112.228/browse/NH-2118 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.0.0.Alpha1 > Reporter: Jose F. Romaniello > Assignee: Patrick Earl > Fix For: 3.2.0CR1 > > Attachments: test-2118.patch > > > A query like this doesn't work: > session.Query<Person>().GroupBy(p => p.LastName).ToArray() //doesn't work > however there is a temporary workaround: > session.Query<Person>().GroupBy(p => p.LastName).Select(g => g).ToArray() // this work. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |