From: Lee T. (JIRA) <nh...@gm...> - 2011-04-19 08:00:26
|
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 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 |