I have a small application in C#, and so far I have implemented it using data persistence classes that are running SQL directly, I understand there are better alternatives as Hibernate.NET and possibly Spring.NET. There are some other I forget? pros and cons? thanks!
Asked
Active
Viewed 1,496 times
1
-
See http://stackoverflow.com/questions/550929/some-suggestions-on-which-net-orm-to-look-at-learning – TrueWill Sep 14 '09 at 01:42
-
@TrueWill: that's only a duplicate if you believe that ORM's are the *only* way of persisting data other than an RDBMS. – MusiGenesis Sep 14 '09 at 02:49
1 Answers
2
Here are a few of the more common ones:
Spring.NET isn't really a dedicated data persistence framework. It's more of a IoC (Inversion of Control) framework, which gives you dependency injection, and a bunch of other stuff, including the ability to plug in a data persistence framework.
LINQ to SQL and SubSonic are probably the easiest to use and learn out of all of these. NHibernate and Entity Framework are more complex, but probably also more powerful and flexible than plain LINQ to SQL.

Andy White
- 86,444
- 48
- 176
- 211