Dapper (2.1.66)

Published 2026-02-04 09:29:03 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 2.1.66 Dapper

About this package

A high performance Micro-ORM supporting SQL Server, MySQL, Sqlite, SqlCE, Firebird etc. Major Sponsor: Dapper Plus from ZZZ Projects.

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

Dependencies

ID Version Target Framework
Microsoft.Bcl.AsyncInterfaces 9.0.1 .NETFramework4.6.1
Microsoft.Bcl.AsyncInterfaces 9.0.1 .NETStandard2.0
System.Reflection.Emit.Lightweight 4.7.0 .NETStandard2.0
Details
NuGet
2026-02-04 09:29:03 +03:30
91
Sam Saffron,Marc Gravell,Nick Craver
429 KiB
Assets (2)
Versions (2) View all
2.1.35 2026-02-20
2.1.66 2026-02-04