Docs

Dapper

A fast micro-ORM.

What is Dapper

Dapper maps SQL results to objects with almost no overhead — you stay in control of the SQL.

Install

cli
bash
dotnet add package Dapper

Usage

csharp
csharp
var users = conn.Query<User>(
    "select * from Users where Age >= @min", new { min = 18 });

Docs

Official documentation: Dapper.