It seems that a In clause is not working properly with Linq 3.0
(trunk)

I tried following: var l = session.Query.Where(p =>
searchGroups.Contains(p.ID)).Select(r=>r);

I get an exception that says that the Binary operator for
\"System.Collections.Generic.ICollection`1[System.Int32]\" and
\"System.Int32 is not defined

With Linq 1.0 it works properly

var l = session.Linq.Where(p =>
searchGroups.Contains(p.ID)).Select(r=>r);

Should I use something different with the new Linq version or is it
just a bug?

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to