Using CSLA.NET with NHibernate

Using CSLA.NET with NHibernate

Old forum URL: forums.lhotka.net/forums/t/2095.aspx


davidceder posted on Tuesday, January 09, 2007

can anyone give me the pros and cons of CSLA compared to NHibernate?

Is it possible they can co-exist? If so, for what purposes would you use NHibernate? And how would u call it from the CSLA framework?

 

Brian Criswell replied on Tuesday, January 09, 2007

Yes, they can coexist quite well.  You use NHibernate for accessing data sources in such a way that your business objects do not need to know about them.  You would call it from the DataPortal_XYZ methods within your business object.  There are many threads on this forum talking about ORM in general and NHibernate in particular.  DavidDilworth would be a good person to get in contact with if I remember correctly.

Copyright (c) Marimer LLC