25 ms·
Completely agree. I've been using Dapper for a few years now and it's amazing because I have control over everything. I created a simple overlay, which also a
by mrlala 7y ago
Completely agree. I've been using Dapper for a few years now and it's amazing because I have control over everything. I created a simple overlay, which also allows me to do some very specific things that you just cannot do with a traditional ORM (like having dynamic table names)
Anyone wanting to set up something similar just watch Mosh's Repository Pattern
https://www.youtube.com/watch?v=rtXpYpZdOzM https://www.youtube.com/watch?v=rtXpYpZdOzM
I modified this pattern to use dapper instead of entity framework, but he already decouples entity framework to the point where you still have control.. so you can do either.