Ok, I've found this:

void NHibernateUtil.Initialize(object proxy);

but I have to use it in that way:
NHibernateUtil.Initialize(item.Customer);
[...]
NHibernateUtil.Initialize(item.Items);

So, is there any way to tell NHibernate: find every unloaded lazy
association and initialize it?

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