With CSLA.net, all domain classes need to inherit from Businessbase,
which contains non-virtual properties.

When using NHibernate, we need to implement virtual properties for
lazy loading.

Some options to use CSLA/NHibernate together seem to be:

 - switch lazy loading off in NHibernate and implement lazy loading
code in the domain classes (although this seems less flexible)
 - leave lazy loading on in NHibernate but use a DTO class to map to
the database and then transfer the data       to the CSLA domain
classes

What other options might there be? Any pointers in the right direction
will be much appreciated.

I suppose the above question is really applicable to using NHiberntate
with any framework.


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