Re:The many approaches to Entity Framework
by jchannon on Monday March 04, 2013 @08:02AM
(#5317955)
Unfortunately EF doesn't provide a interface. Unlikely I know but what if you swapped your ORM, wouldn't that mean a lot of refactoring?
[ Parent
| on HN ]
Re:The many approaches to Entity Framework
by PommeDeTerre on Monday March 04, 2013 @08:17AM
(#5318012)
There's going to be a lot of refactoring either way, whether there are custom abstraction layers in place, and whether there aren't.
The abstraction layers that were originally intended to ease a transition between ORMs or DBs often end up making such a transition far more difficult. They just end up being another huge amount of code that needs some type of refactoring.
ORM swapping is YAGNI.