I believe this is a bug, but wanted to ask here before posting an official
issue in the JIRA.
I am trying to run a query like this:
using (var session = OpenSession())
{
var idsICareAbout = new[] { 1, 2, 10 };
var results = from e in session.Query<Entity>()
where idsICareAbout.Contains(e.Id)
select e;
var read = results.ToFuture().ToList();
}
which I expect generate SQL similar to SELECT ... FROM Entity WHERE Id IN
(1, 2, 10).
NH currently throws a KeyNotFoundException, but works correctly if
".ToFuture()" is removed. I have some test cases I can submit, but just
wanted to confirm this as a bug before doing so. I also did some searching
on the JIRA, but didn't find anything that sounded applicable.
Thanks!
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/6FGHNrr_e1oJ.
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.