EDIT: Guys, sure I meant Entity Framework not ASP.NET MVC, it was a typo most probably!
Yesterday I came a cross this article that lists some of the bad stuff with Entity Framework. And after doing some google stuff I found this one which basically is the defender here. These two posts discussed some major issues of entity framework such as:
- EF is not a failure because it doesn’t fit TDD development
- EF is not a failure because business logic goes into partial classes
- EF is not a failure because it treats data as an important part of biz objects
- EF is not a failure because it accepts that most people do data first development
- EF is not a failure because lazy loading is hard – lazy loading can destroy performance
- EF is not a failure because its design tools are 1.0 level
- EF is not a failure because it has a poor strategy for merging into source control
Now the points that really concern me in the above list are TDD fitness, Lazy Loading leak, and Source Control issues.
And here are my questions:
- Can't I unit test my application methods good enough if I used EF?
- What does it mean Lazy loading is hard? Is it unsupported at all by EF?
- What does it mean that EF does have a poor strategy for merging into source control? aren't all the files gets checked-in and out like any normal file in the solution?
Hope this clears what I'm trying to ask here, and thank you guys for your assistance! Appreciate it!