Dapper.Mapper NuGet Package

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);'.




Got any Dapper.Mapper Question?





Info

Version: 2.0.0
Author(s): Arjen Post
Last Update: Monday, September 25, 2017
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/dotarj/Dapper.Mapper
NuGet Url: https://www.nuget.org/packages/Dapper.Mapper


Install
Install-Package Dapper.Mapper
dotnet add package Dapper.Mapper
paket add Dapper.Mapper
Dapper.Mapper Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0 .NETFramework 4.5 .NETStandard 1.3 net451 3 packages depend on this package.


Tags



STATS

must-have-score

5

avg-downloads-per-day

90

days-since-last-release

2395