From: Fabio M. (JIRA) <nh...@gm...> - 2011-05-20 15:36:56
|
[ http://216.121.112.228/browse/NH-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fabio Maulo resolved NH-2657. ----------------------------- Resolution: Fixed Fix Version/s: 3.2.0CR1 > OrderBy After Cast Not Working > ------------------------------ > > Key: NH-2657 > URL: http://216.121.112.228/browse/NH-2657 > Project: NHibernate > Issue Type: Bug > Components: Linq Provider > Affects Versions: 3.1.0 > Reporter: Lee Timmins > Priority: Minor > Fix For: 3.2.0CR1 > > > The following test: > [TestMethod] > public void Cast_OrderBy() { > var result = _session.Query<CommentUser>() > .Cast<Comment>() > .OrderBy(c => c.CommentID) > .ToList(); > Assert.AreEqual(4, result.Count); > } > Fails in the latest Linq provider but worked fine in the old one. -- 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 |