Next time, it would be better if you stated what the bug is, the context,
etc.
Anyway, I ran it and it tries to use the constant string in an incorrect
way, so that's probably unsupported in 2.x.
Have you tried with 3.x (trunk)?
Diego
On Wed, Feb 17, 2010 at 06:13, Rikard Pavelic wrote:
> I
I stumbled upon this bug while trying to use NHibernate.Linq
[Test]
public void SelectWithWrapping()
{
var list = (from user in session.Linq()
select new Wrapper(user, "xxx")).ToList();
Assert.AreEqual(3, list.Count);
}
public class Wrapper
{
public Wrapper(User item,