I was playing around with the latest version of Active Record on the
repo and I ran into something odd.

When I do a linq query I get an enumeration of objects, as expected.
But on these objects I can access lazy collections outside a
SessionScope.

It looks like a change was made to ActiveRecordLinqBase 4 weeks ago
durring the nhibernate update.  In the new version of Queryable, a
session is created, but it is never released in any way.
I still don't know much about the inner workings of AR, but this seems
like a bad idea.

Does anyone know what is going on here?
Is this just a matter of instability in the bleeding edge?

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en.

Reply via email to