{"id":37042419,"url":"https://github.com/dynaspan/extended-dapper","last_synced_at":"2026-01-14T05:00:11.017Z","repository":{"id":65505779,"uuid":"185365926","full_name":"DynaSpan/Extended-Dapper","owner":"DynaSpan","description":"[Preview] Extension for the Dapper Micro-ORM, providing OneToMany \u0026 ManyToOne mappings, repositories (CRUD) and native LINQ 2 SQL.","archived":false,"fork":false,"pushed_at":"2025-11-13T12:30:39.000Z","size":335,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-21T12:21:45.558Z","etag":null,"topics":["crud","csharp","dapper","dapper-crud","dapper-extensions","dapper-microorm","dotnet","dotnet-standard","entityrepository","linq","linq-to-sql","mariadb","mysql","orm","repository","sql","sqlite","sqlserver"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DynaSpan.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-07T09:13:07.000Z","updated_at":"2025-11-13T12:30:44.000Z","dependencies_parsed_at":"2023-01-26T14:01:42.361Z","dependency_job_id":null,"html_url":"https://github.com/DynaSpan/Extended-Dapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DynaSpan/Extended-Dapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynaSpan%2FExtended-Dapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynaSpan%2FExtended-Dapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynaSpan%2FExtended-Dapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynaSpan%2FExtended-Dapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DynaSpan","download_url":"https://codeload.github.com/DynaSpan/Extended-Dapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DynaSpan%2FExtended-Dapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410055,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crud","csharp","dapper","dapper-crud","dapper-extensions","dapper-microorm","dotnet","dotnet-standard","entityrepository","linq","linq-to-sql","mariadb","mysql","orm","repository","sql","sqlite","sqlserver"],"created_at":"2026-01-14T05:00:10.221Z","updated_at":"2026-01-14T05:00:11.009Z","avatar_url":"https://github.com/DynaSpan.png","language":"C#","readme":"# Extended Dapper (preview)\n\n## WARNING: UNMAINTAINED! DO NOT USE FOR NEW PROJECTS\n\nExtends Dapper with a repository (CRUD) and native LINQ 2 SQL and `OneToMany` \u0026 `ManyToOne` mappings.\n\n## Getting started\n\n[View here](docs/getting-started.md)\n\n## Features\n\n- Implements repositories with `CRUD` actions such as `Insert`, `Update`, `Get`, `GetById`, `GetAll` \u0026 `Delete` on top of Dapper.\n- QueryBuilder for custom SQL select queries\n- LINQ queries/searches executed as native SQL queries (no client-side filtering).\n- Support for `OneToMany` and `ManyToOne` attributes on entity properties.\n    - Choose per `Get(All)` which children you want to include\n    - Lazy loading with dedicated methods\n- Support for SQLite, MSSQL and MySQL/MariaDB. More planned in the near future.\n\n## Changelog\n[View here](CHANGELOG.md)\n\n## Known issues\n- CI/CD pipeline not working due to new testing implementation\n- None; if you find one; please create an issue :)\n\n## TODO\n\n- Write more unittests (working on it, EntityRepository is covered)\n    - Add unittests for non-standard object/SQL formats (e.g. weird pk's)\n- ~Setup CI/CD for automated deployment to NuGet~ (need to fix with new testing)\n- Setup documentation\n- (Proper) support for more than 1 primary key\n- ~Support for autovalues other than guid/uuid~\n- ~Optimize reflection calls~\n- Optimize relation mapping (should be able to better implement it with Dapper)\n- Implement more `SqlProviders`\n- Lazy loading of `OneToMany` and `ManyToOne` (semi-implemented; loading must be done manually)\n- Implement `ManyToMany` attribute\n- Do benchmarks\n\n## Example\n\nAn example of retrieving an entity from the database:\n\n    var scienceAnswersBook = (await this.BookRepository.GetQueryBuilder()\n        .Select(b =\u003e b.Name, b =\u003e b.ReleaseYear)\n        .IncludeChild\u003cAuthor\u003e(b =\u003e b.Author, a =\u003e a.Name, a =\u003e a.Country)\n        .IncludeChild\u003cAuthor\u003e(b =\u003e b.CoAuthor, a =\u003e a.Name, a =\u003e a.Country)\n        .IncludeChild\u003cCategory\u003e(b =\u003e b.Category, c =\u003e c.Name)\n        .Where(b =\u003e b.Name == \"Science questions answered\")\n        .GetResults()).First();\n\n## Building\n\nBuild the library by running `dotnet build -c Release` or `dotnet publish -c Release`.\n\n## Testing\n\nYou can run the unittests against the sqlite, MySQL and MSSQL backends with Docker. Issue the following commands: \n\n    docker-compose build\n    docker-compose up --abort-on-container-exit\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynaspan%2Fextended-dapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdynaspan%2Fextended-dapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdynaspan%2Fextended-dapper/lists"}