From: Kelly S. (JIRA) <nh...@gm...> - 2011-06-06 18:40:09
|
Unable to order by sub-collection's count ----------------------------------------- Key: NH-2760 URL: http://216.121.112.228/browse/NH-2760 Project: NHibernate Issue Type: Bug Components: Linq Provider Affects Versions: 3.2.0Beta1 Reporter: Kelly Stuard Priority: Major (Attaching unit tests and exception shortly.) // Many-to-many association between User and UserGroup. var query = from ug in session.Query<UserGroup>() orderby ug.Users.Count() select ug; query.ToList(); // Exception of type 'Antlr.Runtime.NoViableAltException' was thrown. -- 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 |