I love the feature of NHibernate of providing lazy load, it is simply
amazing.
Unfortunately I can't use it for one simple reason, my domain entities
needs to be sealed by design.
If they are sealed, I can't use castle proxy or linfu or spring so I
can't simply use lazy load.
I found two alternatives ways ...
One is to use interfaces but I did not try them out yet. What it
scares me is about the fact that my domain entities collections are
customized in the set and in the get so I am wondering what will
happen if I do the mapping against interfaces. Second, more feasible,
I was wondering if I can inherits my domain objects from castle proxy
or linfu in order to keep the lazy load feature.
Or maybe, you guys can suggest me a better approach.
Thanks, Raffaeu

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