Dapper.Mapper 1.13.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)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

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

Package Downloads
Beezie.Persistence

Package Description

VApp.Data.Dapper

Package Description

DenisJakus.SqlDapperWrapperSP

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 (1)

Showing the top 1 popular GitHub repositories that depend on Dapper.Mapper:

Repository Stars
androidseb25/iGotify-Notification-Assistent
Docker container for sending Gotify notifications to iOS devices (bridge to gotify websocket)
Version Downloads Last updated
2.0.0 646,557 9/25/2017
1.50.1 131,690 7/14/2016
1.13.0 31,398 12/27/2013
1.1.0 2,231 2/5/2013
1.0.0 2,091 10/21/2012

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