Hacker GitHub

← All repos

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

Mentions per year 48 mentions · busiest year 2016 (8)
20082026
  1. …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
  2. …to what you are describing. It does the object mapping, but you still write the queries as SQL. https://github.com/DapperLib/Dapper
  3. …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
  4. …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...…
  5. …world for a few years but there's a very similar library called Dapper. Best "ORM" I ever used. https://github.com/DapperLib/Dapper
  6. ▲ 2
    Dapper – a simple object mapper for .NET
    story by Brysonbw · 2025-01-26 · 0 comments
  7. …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
  8. ▲ 2
    Interceptors (new C# metaprogramming feature) to fuel DapperAOT development
    story by zigzag312 · 2023-06-21 · 4 comments
  9. …a list of objects by emitting low level CLR bytecode Looks like its expanded a little since then https://github.com/DapperLib/Dapper
  10. Have a look at Dapper: https://github.com/DapperLib/Dapper
    comment by threid · 2023-01-26 · in You might not need an ORM
  11. 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)
  12. …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?
  13. 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
  14. …(basically on tables that keep growing over time, like a comments table). But of a rabbit hole: https://github.com/DapperLib/Dapper/pull/1082
  15. …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…
  16. …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…
  17. …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
  18. …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
  19. ▲ 1
    Ask HN: Unit/integration-tests you have experienced
    story by danielovichdk · 2020-09-04 · 0 comments
  20. …full-power of SQL" Sounds like Dapper from the .Net world - which I like precisely for that reason: https://github.com/StackExchange/Dapper
  21. …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
  22. …strongly typed SQL queries, but I have found that Dapper [1] fills a special place in my heart. [1] https://github.com/StackExchange/Dapper
  23. You never mentioned the language, so maybe Dapper? https://github.com/StackExchange/Dapper/
  24. It is also the name of the object-mapping framework created by Stack Exchange: https://github.com/StackExchange/Dapper
  25. …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…
  26. Dapper for C# made by StackOverflow team https://github.com/StackExchange/Dapper
  27. …and typing. It's the perfect micro-ORM. Eliminates boilerplate, gets out of the way otherwise. [0] https://github.com/StackExchange/Dapper
  28. …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
  29. 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
  30. …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
  31. …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…
  32. …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?
  33. …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?
  34. …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)
  35. 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.
  36. …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
  37. 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
  38. 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?
  39. …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
  40. …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
  41. …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
  42. …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
  43. …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…
  44. …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
  45. …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…
  46. …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…
  47. 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…
  48. …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…