Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ORM frameworks

I need to collect some information about existing ORM solutions. Please feel free to write about any programming language.

Can you tell about the best ORM framework you ever use and why is it better then others?

like image 618
Bogdan Gusiev Avatar asked May 27 '09 20:05

Bogdan Gusiev


1 Answers

I used NHibernate and Entity Framework.

Current stable version of entity framework is very immature. It is too difficult, or impossible to perform common tasks. Testing your code is also difficult since you cannot really separate your entities from your data access classes. But it perfectly integrates with visual studio ide. Setting up is easy and updating all the models from database takes just a few seconds. Upcoming version of EF (4.0) will solve some of this problems.

NHibernate is quite powerful. It supports plain old clr objects, so you can work with simple entities. Configurations provide great control in great detail. Framework capabilities are satisfying and it has a large and active community and good documentation. Setting up and updating entities is a little difficult since you must use generators that looks up your database and generates entities and xml files. It may be tricky to find a generator or a template that exactly fits your needs. But once you set all things up, you will love it.

like image 59
Serhat Ozgel Avatar answered Oct 07 '22 03:10

Serhat Ozgel