Navigate:
Dapper
~$DAPPE0.0%

Dapper: Simple object mapper for .NET

Lightweight ORM extending ADO.NET with simple query methods for .NET applications.

LIVE RANKINGS • 10:20 AM • STEADY
OVERALL
#406
59
BACKEND & APIS
#22
4
30 DAY RANKING TREND
ovr#406
·Backe#22
STARS
18.2K
FORKS
3.7K
7D STARS
+8
7D FORKS
+1
See Repo:
Share:

Learn more about Dapper

Dapper is a micro-ORM library that provides extension methods for ADO.NET DbConnection instances to simplify database operations. It works by extending existing database connections with methods like Query<T>(), Execute(), and QuerySingle<T>() that automatically map SQL results to .NET objects. The library uses reflection and compiled expressions to achieve efficient object mapping while maintaining a minimal footprint. It supports both synchronous and asynchronous operations, parameterized queries, and can map to POCOs, dynamic objects, or primitive types.

Dapper

1

Minimal Overhead

Functions as extension methods on existing ADO.NET connections without requiring configuration or complex setup. Maintains close-to-raw ADO.NET performance while adding object mapping convenience.

2

Flexible Mapping

Maps query results to strongly-typed objects, dynamic types, or primitive values. Supports anonymous types and Dictionary objects for parameter binding.

3

SQL Control

Requires explicit SQL queries rather than generating them automatically. Provides direct control over database operations while handling parameter binding and result mapping.



v2.1.66

TFM updates, async API normalization, and DateOnly/TimeOnly support disabled due to failure modes.

  • TFM update; +net8 (LTS), -net5, -net7
  • normalize async API surface over all TFMs
  • disable DateOnly / TimeOnly support
  • change dapper-plus citation
  • Do not close the inner reader when disposing wrapped data readers
v2.1.44

Fixes NuGet readme.

  • fixes NuGet readme
v2.1.42

Reverts previous change and adds new sponsor.

  • revert previous change - see issue for more details
  • new sponsor: Dapper Plus


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers