Dapper.Mapper 1.13.0

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.
<PackageVersion Include="Dapper.Mapper" Version="1.13.0" />
                    
Directory.Packages.props
<PackageReference Include="Dapper.Mapper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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.
#:package Dapper.Mapper@1.13.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Dapper.Mapper&version=1.13.0
                    
Install as a Cake Addin
#tool nuget:?package=Dapper.Mapper&version=1.13.0
                    
Install as a Cake Tool

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.

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
1.13.0 1,477 12/27/2013
1.1.0 90 2/5/2013
1.0.0 109 10/21/2012

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