4 ms·
How do model binding libraries compare to ORM's w.r.t. performance, e.g. query optimization?
by cryptarch 9y ago
How do model binding libraries compare to ORM's w.r.t. performance, e.g. query optimization?
- Nuzzerino 9y agoORMs are doing more work and are naturally going to have more overhead. With Dapper , at least with the way I used it, you're going to write your own SQL queries so there is nothing to optimize. I've even run into some nasty SQL server parameter sniffing issues. But despite that I still prefer the style over ORMs.