{"id":36924161,"url":"https://github.com/AbstractLeap/dashing","last_synced_at":"2026-01-19T18:00:45.473Z","repository":{"id":38417817,"uuid":"49278347","full_name":"AbstractLeap/dashing","owner":"AbstractLeap","description":"Dashing is a simple to use mini ORM built on top of Dapper","archived":false,"fork":false,"pushed_at":"2025-12-09T14:43:31.000Z","size":15296,"stargazers_count":48,"open_issues_count":14,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-14T05:37:15.708Z","etag":null,"topics":["ado-net","dapper","orm","sql"],"latest_commit_sha":null,"homepage":null,"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/AbstractLeap.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-01-08T15:04:34.000Z","updated_at":"2025-12-09T14:43:34.000Z","dependencies_parsed_at":"2023-02-10T23:15:41.729Z","dependency_job_id":null,"html_url":"https://github.com/AbstractLeap/dashing","commit_stats":null,"previous_names":["polylytics/dashing"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/AbstractLeap/dashing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractLeap%2Fdashing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractLeap%2Fdashing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractLeap%2Fdashing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractLeap%2Fdashing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbstractLeap","download_url":"https://codeload.github.com/AbstractLeap/dashing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbstractLeap%2Fdashing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28578952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T17:42:58.221Z","status":"ssl_error","status_checked_at":"2026-01-19T17:40:54.158Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ado-net","dapper","orm","sql"],"created_at":"2026-01-12T19:00:25.487Z","updated_at":"2026-01-19T18:00:45.461Z","avatar_url":"https://github.com/AbstractLeap.png","language":"C#","readme":"Dashing is a simple to use mini ORM built on top of [Dapper](https://github.com/StackExchange/dapper-dot-net). \nIt aims to be a strongly typed data access layer that is built with productivity and performance in mind. \n\n📘 **Documentation** for v2 is available to [view here](http://polylytics.github.io/dashing/). \n\n# Features\n\n* Convention over Configuration with code-first minimal configuration\n* SQL-like strongly typed query syntax\n* Paging support\n* Eager loading of relationships\n* Change tracking\n* CRUD operations\n* Default transactional behaviour\n* Schema generation/migrations\n* Dynamic method generation and caching\n* Builds on top of Dapper \n* Multiple database support (SQL Server/MySql right now)\n* In-memory engine for testing\n\n# Examples\n\nGet Entity\n```cs\nvar post = await session.GetAsync\u003cPost\u003e(123);\nvar post = await session.Query\u003cPost\u003e().SingleAsync(p =\u003e p.PostId == 123);\n```\n\nInsert\n```cs\nvar post = new Post { Title = \"Hello World\" };\nawait session.InsertAsync(post);\nConsole.WriteLine(post.PostId); // 123\n```\n\nUpdate changed properties only\n```cs\nvar post = await session.GetAsync\u003cPost\u003e(123);\npost.Title = \"New Title\";\nawait session.SaveAsync(post); // update [Posts] set [Title] = @P1 where [PostId] = @P2\n```\n\nDelete\n```cs\nawait session.DeleteAsync(post);\n```\n\nEager fetching of related entities\n```cs\nvar posts = await session.Query\u003cPost\u003e()\n    .Fetch(p =\u003e p.Author)\n    .Fetch(p =\u003e p.Tags)\n    .FetchMany(p =\u003e p.Comments).ThenFetch(c =\u003e c.Author)\n    .Where(p =\u003e p.Category == \".Net ORM\")\n    .OrderByDescending(p =\u003e p.CreatedDate)\n    .ToListAsync();\n```\n\nPaging\n```cs\nvar firstPage = await session.Query\u003cPost\u003e().AsPagedAsync(0, 10);\n```\n\nCount/Any\n```cs\nvar numberPosts = await session.Query\u003cPost\u003e().CountAsync(p =\u003e p.Author.UserId == userId);\nvar hasAuthored = await session.Query\u003cPost\u003e().AnyAsync(p =\u003e p.Author.UserId == userId);\n```\n\nBulk update entity\n```cs\nawait session.UpdateAsync\u003cPost\u003e(p =\u003e p.IsArchived = true, p =\u003e p.Author.UserId == 3);\n// update [Posts] set [IsArchived] = @P1 where [AuthorId] = @P2\n```\n\nBulk delete\n```cs\nawait session.DeleteAsync\u003cPost\u003e(p =\u003e p.IsArchived);\n```\n\nDrop to Dapper\n```cs\nawait session.Dapper.QueryAsync(\"select 1 from Foo\");\n```\n\nInspect changes\n```cs\npost.Title = \"New\";\nsession.Inspect(post).IsPropertyDirty(p =\u003e p.Title);\nvar oldTitle = session.Inspect(post).GetOldValue(p =\u003e p.Title); // Old\n```\n\nMigrate database to match latest code\n\n    ./dash migrate -a \"\u003cpath to assembly\u003e\" -t \"\u003cconfiguration type full name\u003e\" -c \"\u003cconnection string\u003e\" \n\n# Who uses Dashing?\n\nDashing has been developed over the last 4 years at [Abstract Leap](https://www.abstractleap.com) and is in use at nearly all of our clients. It's used to execute millions of queries every week.\n\nFeature requests (and voting for them) available at [Feathub](http://feathub.com/Polylytics/dashing)\n\n[![Join the chat at https://gitter.im/Polylytics/dashing](https://badges.gitter.im/Polylytics/dashing.svg)](https://gitter.im/Polylytics/dashing?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge) \n\n","funding_links":[],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAbstractLeap%2Fdashing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAbstractLeap%2Fdashing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAbstractLeap%2Fdashing/lists"}