Third Party Library - Dapper.Mapper
Dapper.Mapper is a small library which extends Dapper multi-mapping functionality. It allows you to map a single row to multiple objects. This library automatically figures out the relationships between the returned objects and automatically assigns them.
Dapper.Mapper is available through NuGet: https://www.nuget.org/packages/Dapper.Mapper/
You can easily install this library by running the following command:
PM> Install-Package Dapper.Mapper
If you have used Dapper, then you will have an idea of writing mapping explicitly as shown below.
Instead of writing all these explicitly, Dapper.Mapper will handle the relationships between the returned objects automatically.
Unfortunately, there is no proper documentation available for this library.
Currently, this library is not supported.