DapperLib/Dapper
View on GitHub ↗ ★ 18,408 C#
Dapper - a simple object mapper for .Net
48 mentions on Hacker News by 45 people: 3 stories, 45 comments · first 2014-07-22 · latest 2026-08-07
20082026
-
…Edit "lets" -> "makes". [1] https://en.wikipedia.org/wiki/Object%E2%80%93relational_impe... [2] https://github.com/DapperLib/Dapper
comment by kristianp · 2026-08-07 · in Carl's Required Reading -
…to what you are describing. It does the object mapping, but you still write the queries as SQL. https://github.com/DapperLib/Dapper
comment by bsuvc · 2026-07-05 · in What ORMs have taught me: just learn SQL (2014) -
…and PostgreSQL very effectively, even with really complex query construction against input options. https://github.com/DapperLib/Dapper/blob/main/Dapper.SqlBuil...
comment by tracker1 · 2025-07-29 · in SQLx – Rust SQL Toolkit -
…that support utilizing Npgsql for database access: 1. Linq2DB: https://linq2db.github.io 2. Dapper: https://github.com/DapperLib/Dapper?tab=readme-ov-file#will-... 3. SqlHydra: https://github.com/JordanMarr/SqlHydra?tab=readme-ov-file#co...…
comment by banashark · 2025-07-20 · in C# Language Design Meeting for June 30th, 2025 -
…world for a few years but there's a very similar library called Dapper. Best "ORM" I ever used. https://github.com/DapperLib/Dapper
comment by roarcher · 2025-03-10 · in Goravel: A Go framework inspired by Laravel -
…seem to enable migration away from reflection, for better support of AOT compilation. For example: https://github.com/DapperLib/Dapper/issues/1909
comment by zigzag312 · 2023-08-14 · in Backward Compatibility, Go 1.21, and Go 2 -
…a list of objects by emitting low level CLR bytecode Looks like its expanded a little since then https://github.com/DapperLib/Dapper
comment by didntreadarticl · 2023-02-27 · in Stack Overflow is a cacheless, 9-server on-prem monolith -
Have a look at Dapper: https://github.com/DapperLib/Dapper
comment by threid · 2023-01-26 · in You might not need an ORM -
Dapper https://github.com/DapperLib/Dapper/ Granted, it doesn't do everything (it just does what it needs to not be hated). I used it because it does the boring error-prone bits of manual SQL but not much else.
comment by alkonaut · 2023-01-16 · in Objection to ORM Hatred (2019) -
…smaller and less intimidating codebases, try for example https://github.com/nodatime/nodatime/ https://github.com/DapperLib/Dapper
comment by alkonaut · 2022-10-25 · in Ask HN: Examples of Top C# Code? -
Not to be confused with the _other_ “Dapper” that .NET folks may be familiar with! [1] [1]: https://github.com/DapperLib/Dapper
comment by jen20 · 2022-10-17 · in How to build software like an SRE -
…(basically on tables that keep growing over time, like a comments table). But of a rabbit hole: https://github.com/DapperLib/Dapper/pull/1082
comment by BatteryMountain · 2021-06-01 · in UUID, serial or identity columns for PostgreSQL auto-generated primary keys? -
…another consulting shop nearby who he swore was doing the exact same thing as me but with Dapper ( https://github.com/DapperLib/Dapper ). A few beers and weeks later we had both sat down and evaluated each others work and decided to join…
comment by blyat · 2021-05-16 · in Ask HN: What are some tools / libraries you built yourself? -
…query API - which is the source of most problems. I don't do Python, but for .NET there is Dapper https://github.com/StackExchange/Dapper , you can have a look what I mean. You write the SQL query, explicitly execute it, the library maps…
comment by exyi · 2021-02-19 · in 12 requests per second: A realistic look at Python web frameworks -
…As a result, they'll use ORMs, but catch things that I've seen missed in other frameworks. Dapper ( https://github.com/StackExchange/Dapper ) and other low-level tools are available for even better data access performance. * Generally, the…
comment by zerkten · 2020-11-10 · in Architecture Playbook -
…couple of features from the old framework version. - Dapper is focussed on being fast and simple ( https://github.com/StackExchange/Dapper ) - NHibernate is also still a really powerful database library, even if I think it's API kinda…
comment by worble · 2020-10-03 · in Rust Starter Kit 2020 -
…full-power of SQL" Sounds like Dapper from the .Net world - which I like precisely for that reason: https://github.com/StackExchange/Dapper
comment by arethuza · 2020-09-03 · in Show HN: ORM for TypeScript with no query-builder, supporting full SQL queries -
…looking for something like this. I do wonder if there is a well-known Python equivalent of Dapper: https://github.com/StackExchange/Dapper
comment by stasa · 2020-08-13 · in Simple SQL in Python -
…strongly typed SQL queries, but I have found that Dapper [1] fills a special place in my heart. [1] https://github.com/StackExchange/Dapper
comment by Nican · 2020-07-13 · in Rust Is Surprisingly Good as a Server Language -
You never mentioned the language, so maybe Dapper? https://github.com/StackExchange/Dapper/
comment by hyeomans · 2020-05-25 · in Show HN: PgTyped – Typesafe SQL in TypeScript and Postgres -
It is also the name of the object-mapping framework created by Stack Exchange: https://github.com/StackExchange/Dapper
comment by pixelbath · 2019-10-16 · in Dapr: an open-source project to make it easier to build microservices -
…other high quality libraries that address the .NET core shortcomings for me personally: 1) Dapper - https://github.com/StackExchange/Dapper 2) DbUp - https://dbup.readthedocs.io/en/latest/ 3) Autofac - https://autofac.org/ The Kestrel…
comment by daniel-levin · 2019-10-15 · in .NET Core 3.0 Concludes the .NET Framework API Porting Project -
Dapper for C# made by StackOverflow team https://github.com/StackExchange/Dapper
comment by xadoc · 2019-09-21 · in What ORMs have taught me: just learn SQL (2014) -
…and typing. It's the perfect micro-ORM. Eliminates boilerplate, gets out of the way otherwise. [0] https://github.com/StackExchange/Dapper
comment by shade · 2019-09-21 · in What ORMs have taught me: just learn SQL (2014) -
…there is a sweet middle-ground called Dapper[0]. SO uses it and they have great performance. [0] https://github.com/StackExchange/Dapper
comment by romanovcode · 2019-09-04 · in ORMs Are Backwards -
Dapper is similar and it got some traction in the .NET community. https://github.com/StackExchange/Dapper
comment by revvx · 2019-05-07 · in To ORM or Not to ORM -
…can easily parametrize everything, and get collections of objects back. And it's very fast. [1] https://github.com/StackExchange/Dapper
comment by gregmac · 2018-09-01 · in I don't want to learn your query language -
…and I've been playing around with this kind of idea and using a lightweight mapper when needed ( https://github.com/StackExchange/Dapper which the stackoverflow people created ) I gotta say, I kind of like it One of the problems of many…
comment by keithnz · 2018-07-13 · in How NoSQL forced the evolution of a scalable relational database -
…any particular productivity advantage over using "dumb" SQL-based mapping solutions (a la Dapper [ https://github.com/StackExchange/Dapper] ), that preserve the power of SQL.
comment by bonesss · 2018-05-31 · in Why Is Front-End Development So Unstable? -
…results to objects and sometimes has a basic query builder but you mostly use raw sql. Dapper ( https://github.com/StackExchange/Dapper ) is a great one for .NET.
comment by freeman478 · 2018-04-11 · in Ask HN: Raw SQL vs. ORM? -
…to your array by name: select SomethingID where AnotherThing in @yourNamedArrayParameter More here: https://github.com/StackExchange/Dapper#list-support If you're not using Dapper just use a user-defined table type to hold your data and…
comment by GenericsMotors · 2017-11-28 · in What MongoDB got right (2015) -
In the Microsoft C#, .Net world, the solution already exists. Dapper => https://github.com/StackExchange/Dapper A thin layer on top of ADO.Net, blazing fast, provided for free courtesy the Stack Overflow team.
comment by justboxing · 2017-11-16 · in ObjectiveSync – A thin Java object persistence layer for JDBC (2015) -
…Dapper [1] works similarly in the .NET world. [0] https://github.com/mybatis/mybatis-3 [1] https://github.com/StackExchange/Dapper
comment by jdmichal · 2017-10-06 · in Uncle Bob and Silver Bullets -
Haven't tried EF, but works great with Dapper https://github.com/StackExchange/Dapper on .NET 4.x and Mono.
comment by daxfohl · 2017-05-10 · in Azure Database for MySQL and PostgreSQL -
Letting go of ORMs is so easy with good lightweight model binding libraries. e.g. Dapper ( https://github.com/StackExchange/Dapper )
comment by jdc0589 · 2017-04-30 · in Why Use Postgres? -
…easy to find feature. To give two examples: https://docs.djangoproject.com/en/1.10/topics/db/sql/ https://github.com/StackExchange/Dapper
comment by ZenoArrow · 2017-02-16 · in Why LINQ beats SQL -
…I am also using Node.js as an API gateway which fits in quite well. [0] http://nancyfx.org [1] https://github.com/StackExchange/dapper-dot-net [2] http://rancher.com
comment by nikon · 2016-10-25 · in Happiness is a Boring Stack -
…they say "vNext is gonna be great!!1 for real this time." Consider a micro-ORM like dapper[1]. [1] https://github.com/StackExchange/dapper-dot-net
comment by justinmk · 2016-08-17 · in .NET Core 1.0 release – what you need to know to get started -
…you can use PostgreSQL with Dapper, as there is an ADO provider for PG, but I haven't tried this. https://github.com/StackExchange/dapper-dot-net#will-dapper-...
comment by jsingleton · 2016-06-27 · in Announcing .NET Core 1.0 -
…pass in a parameters object containing a property called ids that is a list/array of some sort (see https://github.com/StackExchange/dapper-dot-net#parameterize... ). On SQL 2016 this uses STRING_SPLIT across an nvarchar(MAX) which makes…
comment by deanward81 · 2016-06-26 · in What ORMs have taught me: just learn SQL (2014) -
…might look good on the balance sheet, but it's going to cost you big time in the long run * [1]: https://github.com/StackExchange/dapper-dot-net * assuming competent DBAs
comment by voltagex_ · 2016-05-31 · in Andl, a relational language that is not SQL, is coming to Postgres -
…featured ORMs) and get perf numbers pretty close to micro-ORM's like Dapper. See this comparison: https://github.com/StackExchange/dapper-dot-net/issues/246#i... However, if you're turning off all the features and hand crafting SQL…
comment by jongalloway2 · 2016-02-19 · in ASP.NET Core – 2300% More Requests Served per Second -
…of performance. I read that blog entry, and saw that they use their own DB library called Dapper: https://github.com/StackExchange/dapper-dot-net I was suprised to see that it's almost 4x faster than linq2sql and more than 10x faster than…
comment by kristianp · 2016-02-19 · in ASP.NET Core – 2300% More Requests Served per Second -
In the .NET world we have Dapper ( https://github.com/StackExchange/dapper-dot-net ), which lets us write queries in plain old SQL. It's a very useful little library. I believe StackOverflow use it for their data access. Example: var posts…
comment by mking1024 · 2016-02-06 · in Diesel: A Safe, Extensible ORM and Query Builder for Rust -
…custom type without adding any dependency weight about a month ago. You can see the commit here: https://github.com/StackExchange/dapper-dot-net/commit/e26ee... Look towards the end at the tests for example of how to hook up a custom type…
comment by Nick-Craver · 2014-07-22 · in StackOverflow Update: 560M Pageviews a Month, 25 Servers