nhibernate and csla

nhibernate and csla

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


andy posted on Tuesday, September 09, 2008

Rocky shows a demo on DNRTV using  E.F.
http://www.dnrtv.com/default.aspx?showNum=120
Did you know NH provides you a better ORM framework?

Andy

rsbaker0 replied on Tuesday, September 09, 2008

I'm something of an NHibernate fan myself, but CSLA allows you to choose whatever data access method you want and the choice is sort of a side issue.

After careful evaluation, we chose the Wilson ORMapper over NHibernate, mainly because (1) it's implementation is small enough for us to feel comfortable making modifications to, (2) you can use a native SQL dialect versus HQL, and (3) NHibernate generated aliased SQL that would cause performance issues with Oracle -- the aliased parameter names were not generated consistently and varied from client to client and session to sessino.

andy replied on Thursday, September 11, 2008

I don't anything about Wilson ORMapper to have any comment on it.
I did take a quick look at the product. 
First, it's a commercial product you have to pay for.
Second, Seems to me it does play well with odp.net(could be a solution for your performance issues with oracle).

I have a different view when choosing the ORM framework.
 1) it should provide the maximum flexibility of object mapping for OOP design
2) persistant ignorance
3) testability

Copyright (c) Marimer LLC