Tutorial on Handling Multiple ResultSets and Multiple Mapping Using Dapper

In this article, we will look at how to use Dapper to read multiple ResultSets from the database in a single database call. We will look at the scenarios where we might want to do this and how Dapper lets us achieve this with its Query and QueryMultiple methods.

Background

When we are talking about data-centric applications, there could be scenarios where we might want to retrieve multiple results from the database. The multiple ResultSets could either be related or unrelated. To do this, rather than makin…
DZone Database Zone

Sharing is caring!

Pavlos Papadopoulos

TechNews

TheLatestTechNews is a personal news blog that is covering Latest Technology News, Computers, Smartphones, Cameras, Digital Marketing, SEO Tips & Tricks

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

shares