3 ms·
I'm usually working in an object oriented language anyway so either I use an ORM like Entity Framework, a lower overhead micro ORM like Dapper (used by Stack Ov
by scarface74 9y ago
I'm usually working in an object oriented language anyway so either I use an ORM like Entity Framework, a lower overhead micro ORM like Dapper (used by Stack Overflow) or end up reinventing the wheel.
The real power for me using Entity Framework with Linq is being able to test my repository containing Linq queries by mocking out the EF Context with an in memory list of objects when unit testing.
https://msdn.microsoft.com/en-us/library/dn314429(v=vs.113).aspx https://msdn.microsoft.com/en-us/library/dn314429(v=vs.113)....