3 ms·
What was the problem with raw SQL you ran into with Entity Framework? Entity framework follows the unit of work pattern from gang of four, and if I remember co
by JamesBarney 6y ago
What was the problem with raw SQL you ran into with Entity Framework?
Entity framework follows the unit of work pattern from gang of four, and if I remember correctly eloquent follows the active record pattern.
When I started I found the active record pattern much more intuitive, but I prefer the unit of work pattern now. Mostly because I think unit of work works better with transactions/constraints then active record pattern.