A lightweight library that generates CRUD SQL queries for Dapper based on C# POCO class metadata.
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.
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.
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.
CRUD for Dapper
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates INSERT, UPDATE, DELETE, and SELECT queries from POCO metadata, reducing manual SQL writing for common operations as highlighted in the Key Features.
Allows overriding the default SQL generator to tailor queries for specific database dialects, providing flexibility beyond basic CRUD.
Maintains Dapper's speed advantages by generating efficient SQL and avoiding heavy ORM overhead, ensuring fast data access.
Focuses on straightforward data access, eliminating boilerplate code for simple queries while keeping complex scenarios manageable with Dapper.
Designed only for common CRUD; complex queries like joins or advanced filtering require manual SQL writing, as admitted in the philosophy.
Overriding the SQL generator requires understanding the library's internals, which might be challenging without deep familiarity with its architecture.
Lacks built-in support for transactions, change tracking, or database migrations, which are often needed in full-fledged applications.