I stumbled upon this bug while trying to use NHibernate.Linq [Test] public void SelectWithWrapping() { var list = (from user in session.Linq<User>() select new Wrapper(user, "xxx")).ToList();
Assert.AreEqual(3, list.Count); } public class Wrapper { public Wrapper(User item, string msg) { this.Item = item; this.Msg = msg; } public User Item; public string Msg; } -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to nhus...@googlegroups.com. To unsubscribe from this group, send email to nhusers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.