Re:.NET Framework 4.6.2
by codingmyway on Wednesday August 03, 2016 @06:18AM
(#12216924)
There's plenty of hate for entity framework among full .Net devs too. It's one of Microsoft's quick to get started but crap to enhance and maintain tools.
Re:.NET Framework 4.6.2
by redwards510 on Wednesday August 03, 2016 @01:04PM
(#12219519)
I agree that the early versions of EF were very buggy (v1-3). It would work fine and then you would hit a show-stopping bug with no fix. However, the recent releases of EF have solved those problems and works great. I can't imagine not using an ORM at this point, and after witnessing NHibernate's stagnation I would recommend using something officially supported by Microsoft.
I hate it with a passion. I use Dapper whenever I can and couldn't be happier about it.
Re:.NET Framework 4.6.2
by codingmyway on Friday August 05, 2016 @05:30AM
(#12230982)
Yep. Dapper is far simpler. All the relationship navigation and deferred loading of related entities is clever but takes effort to optimize and is too easily abused.
Every large team I've seen use it (EF) ends up with slow horrible queries generated that DBAs see hitting the database thinking WTF?
The short is: if you're going to do Mono, make sure that you're always having at least one person on the team doing Mono, otherwise there's a moderate chance that you'll lose the ability to run on Mono.
Also, stay away from entity framework. Some people might disagree, but we had problems with it and I hate that framework.