Files
Dapper/docs
2023-10-13 07:33:27 +01:00
..
2017-03-01 11:32:34 +00:00
2023-10-13 07:33:27 +01:00
2023-09-12 15:58:49 +01:00

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.