Is EasyObjects able to load entire Object graph?

Data Access Application Blocks Forum

Is EasyObjects able to load entire Object graph?

Postby okitainad on Tue Mar 25, 2008 7:13 am

Hi

I am coming from the background of Java and used to Hibernate ORM. Coming to .NET I found nHibernate which is a port-over of Hibernate API.

However, it seems more ppl are suggesting the use of EasyObjects in .NET environment so I would like to ask if some questions:
1. Able to load entire object graph, for example: Customer object encapsulating collection of Order objects. This means Orders are automatically loaded when we retrieve the customer object.
2. Is it a 1:1 mapping against database entities?
3. Cascading save/delete/update. For example, when saving a Customer detail, its Order are also saved (assuming setting of cascading saving is enabled in config file)

Any opinion is greatly welcomed on this topic ;)

Thanks.
okitainad
Lurker
 
Posts: 1
Joined: Tue Mar 25, 2008 7:01 am

Postby mgnoonan on Tue Mar 25, 2008 6:41 pm

Well, I'm certainly glad people are suggesting you use EasyObjects! You don't have to use it, of course, but if you have made the decision to use the Enterprise Library (or you want to), then it is a no-brainer.

Here are your answers:

1. No, not at this time.
2. Yes.
3. No, since this would involve supporting #1 first.

I don't have much nHibernate experience to offer you a comparison, but I did work on a project that used it one time, and they hated it. All kinds of memory usage issues, locking problems, and general instability. I did not have enough experience with nH to try and fix it, or even to know if it was fixable. All I can say for sure is the client was not happy using nHibernate.

Of course, that is my biased story, and I admit I wasn't the guy to fix those problems. I just know that I don't have them with EO. 8)
Matt Noonan
EasyObjects.NET - The O/RM for the Enterprise Library
http://www.easyobjects.net
User avatar
mgnoonan
Expert
 
Posts: 1019
Joined: Tue Sep 14, 2004 3:17 am
Location: Springboro, OH


Return to EasyObjects.NET (Microsoft Enterprise Library)

Who is online

Users browsing this forum: No registered users and 0 guests

cron