Hi All

How do I keep a session available to my view to enable lazy loading of
entities. For example: We have a Customer with Orders and Orders have
Order Lines. In my controller I want get all my customers and pass the
entity to my view. In the view a request may be made to the orders at
which point I want to lazy-load the relevant records. I don't want to
fetch the entire object graph unless needed.

Hope this is clear and would greatly appreciated any tips

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