BrandGhost
Forget Entity Framework Core! - How to Use Dapper and Strongly Typed IDs

Forget Entity Framework Core! - How to Use Dapper and Strongly Typed IDs

To be clear, there's nothing wrong with using Entity Framework Core. In fact, it's the popular choice for CSharp developers! However, EF Core is now how I like to write my own code. It's just personal preference since I like having the SQL queries in front of me when I'm developing my data access patterns. Dapper, on the other hand, has been great to use! It perfectly fits my needs. When we combine this with Andrew Lock's StronglyTypedId Nuget package, we can get some great repository APIs to work with. But how can we expand upon the suggested way to integrate Strongly Typed IDs from this package with Dapper? Let's find out!
An error has occurred. This application may no longer respond until reloaded. Reload