Dapper 2.1.72
Prefix Reserveddotnet add package Dapper --version 2.1.72
NuGet\Install-Package Dapper -Version 2.1.72
<PackageReference Include="Dapper" Version="2.1.72" />
<PackageVersion Include="Dapper" Version="2.1.72" />
<PackageReference Include="Dapper" />
paket add Dapper --version 2.1.72
#r "nuget: Dapper, 2.1.72"
#:package Dapper@2.1.72
#addin nuget:?package=Dapper&version=2.1.72
#tool nuget:?package=Dapper&version=2.1.72
Dapper
Dapper is a simple micro-ORM used to simplify working with ADO.NET; if you like SQL but dislike the boilerplate of ADO.NET: Dapper is for you!
As a simple example:
string region = ...
var customers = connection.Query<Customer>(
"select * from Customers where Region = @region", // SQL
new { region } // parameters
).AsList();
But all the execute/single-row/scalar/async/etc functionality you would expect: is there as extension methods on your DbConnection.
See GitHub for more information and examples.
Sponsors
Dapper was originally developed for and by Stack Overflow, but is F/OSS. Sponsorship is welcome and invited - see the sponsor link at the top of the page. A huge thanks to everyone (individuals or organisations) who have sponsored Dapper, but a massive thanks in particular to:
- Dapper Plus is a major sponsor and is proud to contribute to the development of Dapper (read more)
- AWS who sponsored Dapper from Oct 2023 via the .NET on AWS Open Source Software Fund
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.1)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.1)
- System.Reflection.Emit.Lightweight (>= 4.7.0)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (4.0K)
Showing the top 5 NuGet packages that depend on Dapper:
| Package | Downloads |
|---|---|
|
Dapper.Contrib
The official collection of get, insert, update and delete helpers for Dapper.net. Also handles lists of entities and optional "dirty" tracking of interface-based entities. |
|
|
Hangfire.PostgreSql
PostgreSql storage implementation for Hangfire (background job system for ASP.NET and aspnet core applications). |
|
|
Dapper.SqlBuilder
The Dapper SqlBuilder component, for building SQL queries dynamically. |
|
|
Dapper.FluentMap
Simple API to fluently map POCO properties to database columns when using Dapper. |
|
|
SqlKata.Execution
Adds the execution capabilities for SqlKata |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.1.72 | 4,602,790 | 3/6/2026 |
| 2.1.66 | 57,157,729 | 2/6/2025 |
| 2.1.35 | 72,554,065 | 3/6/2024 |
| 2.1.28 | 16,060,299 | 1/2/2024 |
| 2.1.24 | 8,491,414 | 11/23/2023 |
| 2.1.21 | 2,960,529 | 11/11/2023 |
| 2.1.15 | 4,018,687 | 10/19/2023 |
| 2.1.11 | 2,376,837 | 10/13/2023 |
| 2.1.4 | 2,399,109 | 9/13/2023 |
| 2.0.151 | 7,977,399 | 8/18/2023 |
| 2.0.143 | 9,728,190 | 6/20/2023 |
| 2.0.138 | 1,153,079 | 6/9/2023 |
| 2.0.123 | 147,223,133 | 11/3/2021 |
| 2.0.90 | 34,916,476 | 4/29/2021 |
| 2.0.78 | 59,105,209 | 11/18/2020 |
