Skip to content

Multiple Result Sets

Required package: Dapper.FluentMap

Read each result set through a mapping-aware grid reader.

Use this capability when the column shape and .NET model should remain separated by explicit, reviewable configuration.

using var multi = connection.QueryMultipleMapped(sql);
var customers = multi.ReadMapped<Customer>();
var orders = multi.ReadMapped<Order>();

FluentMap registers typed metadata and applies it through the matching materialization path. SQL, connections, parameters, and lifecycle remain responsibilities of the application and Dapper.