On Oct 25, 9:22 am, Markus Ewald <[email protected]> wrote:

> Is there a way to disconnect an entity from the NHibernate ISession so
> that accessing a normally lazy-loaded reference property simply returns
> null?

Perhaps you could get a similar result by using:

NHibernateUtil.IsInitialized(myProperty)

which returns false if a lazy loaded property has not been populated
with it's data.

-Tom

-- 
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