Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core
  3. MicroOrm.Dapper.Repositories

MicroOrm.Dapper.Repositories

MITC#v1.33.0

A lightweight library that generates CRUD SQL queries for Dapper based on C# POCO class metadata.

Visit WebsiteGitHubGitHub
705 stars205 forks0 contributors

What is MicroOrm.Dapper.Repositories?

MicroOrm.Dapper.Repositories is a lightweight extension for the Dapper micro-ORM that automatically generates SQL queries for CRUD operations based on C# POCO class metadata. It solves the problem of writing repetitive SQL for simple data access scenarios while preserving Dapper's performance benefits. The library abstracts common query building, allowing developers to focus on business logic rather than boilerplate database code.

Target Audience

C# developers using Dapper who want to reduce manual SQL writing for basic CRUD operations without adopting a full-featured ORM. It's ideal for projects where performance is critical but repetitive query code is a burden.

Value Proposition

Developers choose MicroOrm.Dapper.Repositories because it combines Dapper's speed with automated SQL generation for common tasks, eliminating boilerplate while keeping the flexibility to write custom SQL for complex queries. Its lightweight, focused design avoids the bloat of traditional ORMs.

Overview

Generate SQL for CRUD operations based on your POCO classes for Dapper

Use Cases

Best For

  • Reducing boilerplate SQL code in Dapper-based applications
  • Automating CRUD operations for simple POCO classes
  • Maintaining high performance while simplifying data access
  • Projects that need a lightweight alternative to Entity Framework
  • Scenarios where custom SQL is needed for complex queries but basic operations are repetitive
  • Teams wanting consistent SQL generation across repositories

Not Ideal For

  • Projects requiring complex relational queries with automatic join handling
  • Teams needing built-in database migration tools or schema management
  • Applications where full control over SQL generation is preferred over automation
  • Environments using non-standard SQL dialects without easy customization options

Pros & Cons

Pros

Automatic SQL Generation

Generates INSERT, UPDATE, DELETE, and SELECT queries from POCO metadata, reducing manual SQL writing for common operations as highlighted in the Key Features.

Customizable Query Builder

Allows overriding the default SQL generator to tailor queries for specific database dialects, providing flexibility beyond basic CRUD.

Performance-Oriented Design

Maintains Dapper's speed advantages by generating efficient SQL and avoiding heavy ORM overhead, ensuring fast data access.

Simplified CRUD Operations

Focuses on straightforward data access, eliminating boilerplate code for simple queries while keeping complex scenarios manageable with Dapper.

Cons

Limited to Basic Operations

Designed only for common CRUD; complex queries like joins or advanced filtering require manual SQL writing, as admitted in the philosophy.

Customization Complexity

Overriding the SQL generator requires understanding the library's internals, which might be challenging without deep familiarity with its architecture.

Minimal Advanced Features

Lacks built-in support for transactions, change tracking, or database migrations, which are often needed in full-fledged applications.

Frequently Asked Questions

Quick Stats

Stars705
Forks205
Contributors0
Open Issues2
Last commit6 days ago
CreatedSince 2015

Tags

#crud#database#sql-generator#dapper#crud-generator#csharp#micro-orm#data-access#dotnet#orm-alternative#repository-pattern#sql-generation

Built With

D
Dapper
C
C++

Links & Resources

Website

Included in

Core21.2k
Auto-fetched 1 day ago

Related Projects

DapperDapper

Dapper - a simple object mapper for .Net

Stars18,366
Forks3,671
Last commit1 day ago
Entity Framework CoreEntity Framework Core

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

Stars14,773
Forks3,404
Last commit1 day ago
EFCore.BulkExtensionsEFCore.BulkExtensions

Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite, Oracle

Stars4,000
Forks637
Last commit7 days ago
querybuilderquerybuilder

SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird

Stars3,378
Forks524
Last commit4 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub