Hi,
I'm upgrading to 3.2 from 2.1.2 (and the old NHibernate.Linq).
I've noticed that the new Linq support eagerly loads the result before
you can enumerate over it, whereas the previous version would load
each entity as you enumerate over it.
e.g.:
var query = [SOME LINQ QUERY]
foreach (var item in query) {
//do something
}
In the old version, the results would stream out the db as needed. In
the new version, the whole lot seems to be loaded up front, using
quite a bit of memory when the number of results is large.
Is there a way to get 3.2 to behave like the older version?
Thanks
Gareth
--
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.