Dapper.Mapper
2.0.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);'.
Install-Package Dapper.Mapper -Version 2.0.0
dotnet add package Dapper.Mapper --version 2.0.0
<PackageReference Include="Dapper.Mapper" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper.Mapper --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Dapper.Mapper, 2.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
Dependencies
-
.NETFramework 4.0
- Dapper (>= 1.50.1)
-
.NETFramework 4.5
- Dapper (>= 1.50.1)
-
.NETFramework 4.5.1
- Dapper (>= 1.50.1)
-
.NETStandard 1.3
- Dapper (>= 1.50.1)
- Microsoft.CSharp (>= 4.0.1)
- NETStandard.Library (>= 1.6.1)
Used By
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
This package is not used by any popular GitHub repositories.