What are the main criteria while choosing between different ORMs

asp.net-mvc-4 dapper entity-framework

Question

In my new project I am very confused between which ORMs to use. Our database queries are very complex. We are mainly stuck between Dapper and EF 5. I know dapper has performance benefit and i think EF has its maintenance and code generation benefit.

Believe me I search a lot to find the main criteria to make a choice , and a good comparison between this two but not find a satisfactory answer.

So which things i have to keep in mind while dealing with this.

Popular Answer

It's worth having a look at this Blog Post, but ultimately, the criteria is set by you. You need to decide whether

  • rapid development
  • performance
  • Code-First
  • DB First

or whatever else you're looking for and then prioritize the list based on, what's more important. Then use this list to compile your research.



Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why