New here

New here

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


bobfox posted on Thursday, September 07, 2006

Hi,

just bought the book and read about 20% (I know, that's not enough...)

I'm curious whether anyone has used CSLA together with an O/R mapper like

XPO http://www.devexpress.com/Products/NET/Libraries/XPO
DataObjects.NET http://www.x-tensive.com/Products/DataObjects.NET
LLBLGen Pro http://www.llblgen.com

Coming from an O/RM world, I'd rather not use SQL and/or Sproc calls in my
C# code.

If anybody can/will share I'd be truly grateful.

regards, Robert

RockfordLhotka replied on Thursday, September 07, 2006

Hi Robert, welcome!

I suggest searching the forum for "nhibernate", and you'll find a whole set of threads dealing with using ORM tools behind CSLA .NET.

bobfox replied on Thursday, September 07, 2006

Hi Rockford,

wow, first post and getting the answer from Mr. OOP personally ;-)

> I suggest searching the forum for "nhibernate",
> and you'll find a whole set of threads dealing with
> using ORM tools behind CSLA .NET.

While NHibernate is exactly the ORM tool I don't plan to use, I hope I will
find some general answers.

thanks, Robert

RockfordLhotka replied on Thursday, September 07, 2006

> While NHibernate is exactly the ORM tool I don't plan to use,
> I hope I will find some general answers.

While some of the discussions are nHibernate-specific, almost all the issues
apply in a more general sense. ORMs work one way, CSLA works another way,
and there's an intersection point between them: the DataPortal_XYZ methods.

The specific usage characteristics of each ORM tool may vary, but the use of
the DataPortal_XZY methods to map between responsibility-based objects and
data entity objects appears inescapable.

Rocky

RangerGuy replied on Thursday, September 07, 2006

bobfox:
wow, first post and getting the answer from Mr. OOP personally ;-)
Welcome aboard! I think your going to find this is one of the most helpful,constructive and positive message boards! I have been working with CLSA for awhile now and have recieved help from tons of people on this board! INCLUDING ROCKY! It always amazes me how much and quickly people offer suggestions I hope that I start to get a solid grasp on these theories soon so I can return the favor :)

Copyright (c) Marimer LLC