{"id":19740639,"url":"https://github.com/zzzprojects/graphdiff","last_synced_at":"2025-05-15T17:08:47.722Z","repository":{"id":5892887,"uuid":"7111236","full_name":"zzzprojects/GraphDiff","owner":"zzzprojects","description":"GraphDiff is a library that allows the automatic update of a detached graph using Entity Framework code first.","archived":false,"fork":false,"pushed_at":"2024-03-20T20:54:05.000Z","size":3095,"stargazers_count":333,"open_issues_count":43,"forks_count":99,"subscribers_count":40,"default_branch":"master","last_synced_at":"2025-03-31T21:48:35.397Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://entityframework-graphdiff.net/overview","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/zzzprojects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["zzzprojects"],"custom":["https://zzzprojects.com/contribute"]}},"created_at":"2012-12-11T12:16:23.000Z","updated_at":"2024-10-07T08:29:42.000Z","dependencies_parsed_at":"2024-06-20T22:09:10.121Z","dependency_job_id":null,"html_url":"https://github.com/zzzprojects/GraphDiff","commit_stats":{"total_commits":163,"total_committers":10,"mean_commits":16.3,"dds":0.6134969325153374,"last_synced_commit":"bf09eb875acf3ee70b47f31cba9745bd51e8646d"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzzprojects%2FGraphDiff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzzprojects%2FGraphDiff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzzprojects%2FGraphDiff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zzzprojects%2FGraphDiff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zzzprojects","download_url":"https://codeload.github.com/zzzprojects/GraphDiff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247737788,"owners_count":20987721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-12T01:22:39.294Z","updated_at":"2025-04-07T22:09:58.883Z","avatar_url":"https://github.com/zzzprojects.png","language":"C#","funding_links":["https://github.com/sponsors/zzzprojects","https://zzzprojects.com/contribute"],"categories":[],"sub_categories":[],"readme":"## Library Powered By\n\nThis library is powered by [Entity Framework Extensions](https://entityframework-extensions.net/?z=github\u0026y=graphdiff)\n\n\u003ca href=\"https://entityframework-extensions.net/?z=github\u0026y=graphdiff\"\u003e\n\u003ckbd\u003e\n\u003cimg src=\"https://zzzprojects.github.io/images/logo/entityframework-extensions-pub.jpg\" alt=\"Entity Framework Extensions\" /\u003e\n\u003c/kbd\u003e\n\u003c/a\u003e\n\n# What's GraphDiff?\nGraphDiff is a DbContext extension methods for Entity Framework Code First, that allow you to save an entire detached Model/Entity, with child Entities and Lists, to the database without writing the code to do it.\n\n**This version is for EF6+.** If you would like to use the project on EF(4.3,5.0) see this branch https://github.com/refactorthis/GraphDiff/tree/EF4-5.\n\nPlease see the initial post @ https://refactorthis.wordpress.com/2012/12/11/introducing-graphdiff-for-entity-framework-code-first-allowing-automated-updates-of-a-graph-of-detached-entities/ for more information.\n\n## Features\n\n - Merge an entire graph of detached entities to the database using DbContext.UpdateGraph\u003cT\u003e();\n - Ensures concurrency is maintained for all child entities in the graph\n - Allows for different configuration mappings to ensure that only changes within the defined graph are persisted\n - Comprehensive testing suite to cover many (un/)common scenarios.\n \n## Proposed Features\n\n - Fluent API style mapping of aggregates on bootstrapping\n - Retrieve an aggregate from the database without specifying include expressions\n - Define the aggregate using attributes on the models\n - Allow for the initial db query to be performed as multiple queries where needed (too many includes, etc)\n\n## Release Notes\n\n2.0.1\n - Rewrite of graph traversal code and rewrite of tests to cover more scenarios.\n - multiple bug fixes\n\n## Useful links\n\n- [Website](https://entityframework-graphdiff.net/overview)\n- [KnowledgeBase](https://entityframework-graphdiff.net/knowledge-base)\n- [Online Examples](https://entityframework-graphdiff.net/online-examples) \n- [NuGet](https://www.nuget.org/packages/RefactorThis.GraphDiff/)\n- You can also consult GraphDiff questions on \n[Stack Overflow](https://stackoverflow.com/questions/tagged/graphdiff)\n\n## Contribute\n\nThe best way to contribute is by **spreading the word** about the library:\n\n - Blog it\n - Comment it\n - Star it\n - Share it\n \nA **HUGE THANKS** for your help.\n\n## More Projects\n\n- Projects:\n   - [EntityFramework Extensions](https://entityframework-extensions.net/)\n   - [Dapper Plus](https://dapper-plus.net/)\n   - [C# Eval Expression](https://eval-expression.net/)\n- Learn Websites\n   - [Learn EF Core](https://www.learnentityframeworkcore.com/)\n   - [Learn Dapper](https://www.learndapper.com/)\n- Online Tools:\n   - [.NET Fiddle](https://dotnetfiddle.net/)\n   - [SQL Fiddle](https://sqlfiddle.com/)\n   - [ZZZ Code AI](https://zzzcode.ai/)\n- and much more!\n\nTo view all our free and paid projects, visit our website [ZZZ Projects](https://zzzprojects.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzzprojects%2Fgraphdiff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzzzprojects%2Fgraphdiff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzzzprojects%2Fgraphdiff/lists"}