Dapper 2.1.66

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 logo

Showing the top 20 packages that depend on Dapper.

Packages 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.
708
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.
1,841
Quantum.Framework.Core.StandardLib
Package Description
101
Quantum.Framework.Core.StandardLib
Package Description
123
Quantum.Framework.Core.StandardLib
Package Description
130
Quantum.Framework.Core.StandardLib
Package Description
168
Quantum.Framework.Core.StandardLib
Package Description
182
Quantum.Framework.WebApp
Package Description
98
Quantum.Framework.WebApp
Package Description
124
Quantum.Framework.WebApp
Package Description
137
Quantum.Framework.WebApp
Package Description
166
Quantum.Framework.WebApp
Package Description
182
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
95
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
101
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
103
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
121
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
203
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
224
Quantum.Framework.WebApp
提供TMS/WMS/OMS/AMS等共享的组件
291

https://dapperlib.github.io/Dapper/

.NET Framework 4.6.1

.NET 8.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
2.1.66 47 02/21/2025
2.1.35 712 05/05/2024
2.1.28 38 11/27/2024
2.1.24 73 12/21/2023
2.1.21 58 05/12/2024
2.1.15 36 11/14/2024
2.1.11 49 05/11/2024
2.1.4 57 11/19/2024
2.0.151 54 05/01/2024
2.0.143 59 05/22/2024
2.0.138 58 06/16/2023
2.0.4 76 07/10/2022
1.60.1 1,863 05/05/2022
1.50.4-alpha1-00070 57 11/07/2024
1.50.0-rc3 35 11/27/2024
1.50.0-rc2b 37 11/14/2024
1.50.0-rc2a 53 11/21/2024
1.50.0-rc2 60 11/26/2024
1.50.0-beta9 39 11/25/2024
1.50.0-beta7 61 11/25/2024
1.50.0-beta6 36 05/08/2022
1.50.0-beta5 30 11/11/2024
1.50.0-beta4 47 12/10/2024
1.50.0-beta3 34 05/22/2024
1.50.0-beta2 53 11/26/2024
1.50.0-beta1 38 11/27/2024
1.42.0 50 05/01/2022
1.41.0-beta2 40 05/06/2022
1.40.0 40 11/28/2024
1.39.0 75 05/25/2024
1.38.0 56 11/14/2024
1.37.0 59 04/29/2024
1.36.0 52 05/02/2024
1.34.0 43 05/17/2024
1.33.0 55 11/14/2024
1.32.0 67 05/23/2024
1.30.0 41 05/01/2022
1.29.0 67 05/11/2024
1.27.0 48 04/28/2024
1.26.0 55 11/14/2024
1.25.0 62 05/01/2022
1.24.0 71 05/31/2024
1.22.0 71 05/25/2024
1.20.0 58 11/28/2024
1.13.0 45 04/28/2024
1.2.0 65 05/04/2022