Why not CSLA integrate ORM(such as NHibernate)??

Why not CSLA integrate ORM(such as NHibernate)??

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


jason2000 posted on Sunday, April 29, 2007

There are so many discussions about ORM. I have established a prototype of combing CSLA with ORM. I think it's really meaning to combine ORM with CSLA. CSLA focus on domain modeling while ORM on datamapping. But I wonder why Rocky has no intent to integrate them while they are complementary ? Is Rocky expecting updated ORM or other perfect substitute? Or CSLA itself focus on domain model with no concerning ORM?

Clayton replied on Monday, April 30, 2007

If CSLA is not integrated (bound) with an ORM, then you are free to use whatever ORM you prefer. There are other ORM solutions than NHibernate that people may want to use. Some may not want to use ORM at all.

Personally, I think NHibernate's performance degradation offsets its usability and maintenance improvements for my applications. So if CSLA were bound to NHibernate, then I wouldn't be interested in using CSLA.

Diz replied on Monday, April 30, 2007

There's also a good discussion of this on p 52 of the C# 2005 book...


DavidDilworth replied on Thursday, May 03, 2007

I can (at last) announce that there is now a ProjectTracker.NHibernate example solution on the CSLAcontrib site on CodePlex.

Can I suggest that all future CSLA / NHibernate questions (especially those related to the ProjectTracker.NHibernate solution) are posted on the CslaContrib forum.

Thank you all for your patience and support. 

jason2000 replied on Thursday, May 03, 2007

That's greate!

David,you really did greate works for CSLA-NHibernate fans!

Thanks for your contribution.

Copyright (c) Marimer LLC