Dapper 2.1.24

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Dapper --version 2.1.24                
NuGet\Install-Package Dapper -Version 2.1.24                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Dapper" Version="2.1.24" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Dapper --version 2.1.24                
#r "nuget: Dapper, 2.1.24"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Dapper as a Cake Addin
#addin nuget:?package=Dapper&version=2.1.24

// Install Dapper as a Cake Tool
#tool nuget:?package=Dapper&version=2.1.24                

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 is compatible.  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 was computed.  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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3.2K)

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 (264)

Showing the top 5 popular GitHub repositories that depend on Dapper:

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
Version Downloads Last updated
2.1.35 15,124,749 3/6/2024
2.1.28 8,036,455 1/2/2024
2.1.24 4,071,958 11/23/2023
2.1.21 1,761,349 11/11/2023
2.1.15 2,503,320 10/19/2023
2.1.11 1,051,043 10/13/2023
2.1.4 1,417,439 9/13/2023
2.0.151 4,768,759 8/18/2023
2.0.143 6,813,257 6/20/2023
2.0.138 813,530 6/9/2023
2.0.123 95,958,034 11/3/2021
2.0.90 26,897,839 4/29/2021
2.0.78 40,726,245 11/18/2020
2.0.35 39,423,978 4/5/2020
2.0.30 30,285,283 9/27/2019
2.0.4 3,854,603 8/29/2019
1.60.6 21,361,792 3/30/2019
1.60.5 160,611 3/27/2019
1.60.1 5,295,973 3/3/2019
1.50.5 33,774,282 5/18/2018
1.50.4 10,500,925 11/26/2017
1.50.4-alpha1-00070 113,037 9/14/2017
1.50.2 18,765,333 7/22/2016
1.50.1 4,186,135 7/8/2016
1.50.0 1,000,336 7/1/2016
1.50.0-rc3 32,998 6/28/2016
1.50.0-rc2b 19,814 6/8/2016
1.50.0-rc2a 15,355 5/27/2016
1.50.0-rc2 26,706 5/19/2016
1.50.0-beta9 43,689 4/1/2016
1.50.0-beta8 28,202 2/17/2016
1.50.0-beta7 19,782 1/5/2016
1.50.0-beta6 12,836 12/19/2015
1.50.0-beta5 12,634 12/8/2015
1.50.0-beta4 15,937 11/26/2015
1.50.0-beta3 11,792 11/19/2015
1.50.0-beta2 10,676 11/19/2015
1.50.0-beta1 12,889 11/3/2015
1.42.0 5,307,316 5/6/2015
1.41.0-beta5 18,723 5/6/2015
1.41.0-beta4 10,544 5/5/2015
1.41.0-beta3 10,939 5/2/2015
1.41.0-beta2 10,569 5/1/2015
1.41.0-beta 10,654 5/1/2015
1.41.0-alpha 11,022 4/29/2015
1.40.0 739,857 4/3/2015
1.39.0 124,812 3/18/2015
1.38.0 1,434,044 10/30/2014
1.37.0 144,487 10/22/2014
1.36.0 73,934 10/14/2014
1.35.0 158,818 9/29/2014
1.34.0 195,944 8/28/2014
1.33.0 12,439 8/28/2014
1.32.0 42,117 8/28/2014
1.31.0 18,539 8/26/2014
1.30.0 61,779 8/14/2014
1.29.0 79,209 8/6/2014
1.27.0 95,430 7/14/2014
1.26.0 50,106 7/3/2014
1.25.0 227,910 5/14/2014
1.24.0 12,229 5/14/2014
1.23.0 21,186 5/12/2014
1.22.0 17,454 5/8/2014
1.21.0 11,688 5/8/2014
1.20.0 15,639 5/8/2014
1.13.0 865,324 5/24/2013
1.12.1 324,976 9/19/2012
1.12.0 596,696 9/19/2012
1.11.0 18,748 9/4/2012
1.10.0 30,488 6/27/2012
1.9.0 21,808 6/12/2012
1.8.0 97,200 1/12/2012
1.7.0 46,419 11/5/2011
1.6.0 29,162 11/5/2011
1.5.0 29,707 7/13/2011
1.4.0 26,836 6/14/2011
1.3.0 24,859 5/23/2011
1.2.0 27,790 5/16/2011
1.1.0 17,053 4/26/2011
1.0.0 224,325 4/14/2011