Dapper.Mapper 1.13.0

.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dapper.Mapper --version 1.13.0
NuGet\Install-Package Dapper.Mapper -Version 1.13.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dapper.Mapper" Version="1.13.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper.Mapper --version 1.13.0
#r "nuget: Dapper.Mapper, 1.13.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dapper.Mapper as a Cake Addin
#addin nuget:?package=Dapper.Mapper&version=1.13.0

// Install Dapper.Mapper as a Cake Tool
#tool nuget:?package=Dapper.Mapper&version=1.13.0

Dapper.Mapper is an extension to Dapper multi mapping which figures out the relationships between the returned objects and automatically assigns them.

Instead of explicitly writing this:

var employee = connection.Query<Employee, Department, Employee>(sql, (employee, department) => { employee.Department = department; return employee;});

Dapper.Mapper allows you to write this:

var employee = connection.Query<Employee, Department>(sql);

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Dapper.Mapper:

Package Downloads

Package Description


Package Description


Wrapper around SqlDapper when using stored procedures together with repository pattern. <div>Icons made by <a href="https://www.flaticon.com/authors/flat-icons" title="Flat Icons">Flat Icons</a> from <a href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 526,564 9/25/2017
1.50.1 121,850 7/14/2016
1.13.0 28,512 12/27/2013
1.1.0 2,081 2/5/2013
1.0.0 1,932 10/21/2012

- Added support for async
- Added support for up to seven generic type parameters