Hi all,

I know lazy loading acts on object not properties. I also know NH
supports lazy loading in collections. But is lazy loading is acting on
a whole collection or on each member of it?

For example assume there are 2 classes named Order and OrderItem.
Order has a collection of OrderItem. With following code all
collections will be loaded or just a specific one?

Order order = LoadOrder();
OrderItem item = (OrderItem)order.items[3]; //assuming there are more
4 OrderItem at least.

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