Re:The many approaches to Entity Framework
by huntedsnark on Monday March 04, 2013 @12:41PM
(#5319338)
EF really isn't that bad anymore, the 1.0 times were rough but it's gotten much better.
I agree with your your example though, as well as your point about the model/repository being whatever the native ORM interface is. If you're using EF and you REALLY thought you might swap it out later for something else you could always use its POCO mode so you would at least have your business objects intact and reusable.
I agree with your your example though, as well as your point about the model/repository being whatever the native ORM interface is. If you're using EF and you REALLY thought you might swap it out later for something else you could always use its POCO mode so you would at least have your business objects intact and reusable.