Learn Dapper: https://www.learndapper.com/
Dapper Tutorial: https://dapper-tutorial.net/
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)
Dependencies
.NETFramework 4.0
- Dapper(>= 1.50.1)
- Dapper(>= 1.50.1)
- NETStandard.Library(>= 1.6.1)
- Dapper(>= 1.50.1)
- Microsoft.CSharp(>= 4.0.1)
- Dapper(>= 1.50.1)
Tags
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);'.