Dapper.Mapper
1.13.0
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
<PackageReference Include="Dapper.Mapper" Version="1.13.0" />
paket add Dapper.Mapper --version 1.13.0
#r "nuget: Dapper.Mapper, 1.13.0"
// 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 | Versions 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. |
-
- Dapper (>= 1.13.0)
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)
|
- Added support for async
- Added support for up to seven generic type parameters