ORMs and the DBA: How to Make Both Happy
2022TL; DR
Learn how to address annoying ORM issues and help your developers out!
Session Details
DBAs lose sleep over ORMs touching their databases. Developers lose sleep thinking about using stored procedures. Is there a middle ground? Yes! I’ll introduce techniques and tools in .NET that let developers use ORMs while keeping the DBA happy.
Talk to any DBA about ORMs and you’ll quickly find out all the things you like about ORMs are what DBAs don’t like. Interestingly enough, most developers I’ve talked to have issues with their ORMs, too. In this session, we’ll explore why ORMs cause such trouble using examples of bad behavior and poor performance with common application patterns. I’ll outline some strategies for mitigating those troubles such as making sure to audit the generated SQL and changing how we write application code to take advantage of how ORMs attack problems under the hood. Lastly, I’ll introduce some tools (and even yet another ORM) that help solve some of the worst of the problems we see in the database when using ORMs.
3 things you'll get out of this session
Speakers
Dan Mallott's other proposed sessions for 2026
Testing! We're Talking About (Unit) Testing...Your Database! - 2026
The Field Guide For the Accidental Manager - 2026
Why Am I Always Late? Or Is It Early? Why Are Dates So Hard? - 2026
Zero to Hero: Surviving the Transaction Process Like a Pro - 2026
Dan Mallott's previous sessions
Testing! We're Talking About (Unit) Testing!
Is the business logic in your database tested? It should be, and in this talk, we'll talk about how.
Secure SQL Server Database Design: Tactics and Technology
When you design and build an application, do you think about security first or is it an afterthought? In this talk, you will learn strategies for designing and securing your data layer.