☄️ Master the Modular Monolith Architecture: [ Ссылка ]
📌 Accelerate your Clean Architecture skills: [ Ссылка ]
🚀 Support me on Patreon to access the source code: [ Ссылка ]
Dapper is a popular micro-ORM in the .NET ecosystem. It's fast and easy to work with. But, the mapping from SQL to an object can be complicated in some scenarios. One-to-one mapping is straightforward. One-to-many mapping is a bit tricky. So I'll show you how to solve the most common mapping scenarios with Dapper in this video.
Mastering Dapper Relationship Mappings
[ Ссылка ]
Join my weekly .NET newsletter:
[ Ссылка ]
Read my Blog here:
[ Ссылка ]
Subscribe for more:
[ Ссылка ]
Chapters:
0:00 Adding Dapper to the project
1:20 Creating the ISqlConnectionFactory interface and using it
2:15 Implementing the first Dapper query
4:27 Implementing the SqlConnectionFactory and registering with DI
6:15 Fixing issues with One-to-One mapping
9:56 The problem with One-to-Many mapping
15:42 How to solve One-to-Many mapping with Dapper
Master Dapper Relationship Mapping In 18 Minutes
Теги
dapperdapper cdapper tutorialdapper exampledapper 101dapper .netdapper .net 6dapper .net 7dapper sqldapper sql serverdapper postgresqldapper oracledapper mysqldapper mappingdapper one to one mappingdapper one to many mappingdapper complex mappingdapper performancedapper querydapper sql querydapper sql performancedapper sql query performancedapper clean architecturedapper vs ef coredapper vs ef core performance