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
CleanArch.Infra.Infrastructure
Infrastructure
0
CleanArch.Infra.Infrastructure
Infrastructure
16
CrmWebApi.Application
Package Description
1

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 9 5/21/2025
2.1.44 8 5/25/2025
2.1.28 2 6/21/2025