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.
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