zzzprojects / GraphDiff

GraphDiff is a library that allows the automatic update of a detached graph using Entity Framework code first.
https://entityframework-graphdiff.net/overview
MIT License
333 stars 101 forks source link

GraphDiff support for EntityFramework Core? #164

Open khalid99h opened 8 years ago

khalid99h commented 8 years ago

How long it will take to support EF Core 1.0?

Thanks

leonardoporro commented 8 years ago

Try this one https://github.com/leonardoporro/EntityFrameworkCore.Detached.

Adriien-M commented 7 years ago

@leonardoporro Thanks for your amazing work, which probably reclaimed lot of hours of reseach. However ,the approach of GraphDff is completely different.... Indeed, it updates only what we want to update during the call of dbContext.UpdateGraph(...).

In your project, navigation properties are automatically loaded and updated during the save... It's not possible to load the graph at the demand (with several REST call client side by example) and then only merge loaded data by the client.

Do you think a such request could be implemented and handled atomatically in your project?

MNF commented 6 years ago

Duplicate of https://github.com/zzzprojects/GraphDiff/issues/149 (also no answer)

leonardoporro commented 6 years ago

@Adriien-M Sorry for the late response. I've been working on a new version, that uses DTOs instead of the same entity. So if you have an entity with 2 props and 3 navigations but you only want to load/update 1 prop and 1 navigation, it will be possible by creating a plain class with those properties. Sadly, I had too much work at the office and didn't find enough time to work on it. But it will probably be ready on the first days of January.

JonathanMagnan commented 6 years ago

Hello @MNF ,

On my part, I took the ownership of this library a month ago.

I'm currently recruiting a developer that will mostly assigned to open source project and will make some request like this one.

There is currently no date for this request, but I hope it will be in early 2018.

Best Regards,

Jonathan


Help us to support this library: Donate

bdairy commented 6 years ago

any update about Core 2 ???

JonathanMagnan commented 6 years ago

Hello @bdairy ,

We have investigated a lot this library recently. We are still learning it before spending some time to try to revamp it.

As said in the previous answer, we hope to be able to do it in early 2018.

There is no fixed date yet.

Best Regards,

Jonathan


Help us to support this library: Donate

jtheisen commented 6 years ago

I rewrote this library: Reconciler

I did that rather than contribute to this one as I don't fully understand the sources of GraphDiff and also I'm still uncertain about the difference between owned and associated - see Reconciler's readme where I compare semantics.

Anyway my rewrite works on EF6 and EFCore. The test coverage is still a bit thin, but the most important ones are there.

JonathanMagnan commented 6 years ago

Thank @jtheisen ,

We have started to look at this library recently to re-wrote it for our new library: Entity Framework Classic. We hope to make a version for EF Core as well.

We will certainly look at your repository since the code looks a lot more light.

I recommend you to add a license file to your repository: https://github.com/zzzprojects/GraphDiff/blob/master/LICENSE to let people know about it.

Best Regards,

Jonathan

jtheisen commented 6 years ago

A port of EF6 to .NET Core is awesome! Thanks for that!

Added the licence.

MelihSevsay commented 4 years ago

Hi, It has been a year that i have started to user GraphDiff, and i loved it. I would like to use it in .net core, but cant right now :( How long it will take to support EF Core ? Thanks

iamtron01 commented 4 years ago

Hello,

I thought I would check in on the progress of Graphdiff for EF Core. Perhaps it would help if you all made the project a sponsored project so that people could donate $ to it?

Thanks

uprealdigital commented 4 years ago

I have the same question! Would loooovee to see Graphdiff for EF Core! Cheers

viniciusverasdossantos commented 3 years ago

I would love to use EF core 5

MNF commented 2 years ago

Is it still no support for EF Core?

MNF commented 1 year ago

Consider to use https://github.com/WahidBitar/EF-Core-Simple-Graph-Update. It works well for me.