百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

GraphDiff

> 编程语言
开源

GraphDiff 是一款库,可使用 Entity Framework 的代码优先方式自动更新分离图。

331 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

GraphDiff 是一款库,可使用 Entity Framework 的代码优先方式自动更新分离图。

What's GraphDiff?

GraphDiff 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.

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.

Please 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.

Features

  • Merge an entire graph of detached entities to the database using DbContext.UpdateGraph();
  • Ensures concurrency is maintained for all child entities in the graph
  • Allows for different configuration mappings to ensure that only changes within the defined graph are persisted
  • Comprehensive testing suite to cover many (un/)common scenarios.

Proposed Features

  • Fluent API style mapping of aggregates on bootstrapping
  • Retrieve an aggregate from the database without specifying include expressions
  • Define the aggregate using attributes on the models
  • Allow for the initial db query to be performed as multiple queries where needed (too many includes, etc)

Read more on our Website.

Downloads

EF Core

PM> NuGet\Install-Package RefactorThis.GraphDiff
> dotnet add package RefactorThis.GraphDiff

Sponsors

ZZZ Projects owns and maintains GraphDiff as part of our mission to add value to the .NET community

Through Entity Framework Extensions and Dapper Plus, we actively sponsor and help key open-source libraries grow.

More Projects

  • Projects:
    • EntityFramework Extensions
    • Dapper Plus
    • C# Eval Expression
  • Learn Websites
    • Learn EF Core
    • Learn Dapper
  • Online Tools:
    • .NET Fiddle
    • SQL Fiddle
    • ZZZ Code AI
  • and much more!

To view all our free and paid projects, visit our website ZZZ Projects.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言