GraphDiff icon indicating copy to clipboard operation
GraphDiff copied to clipboard

GraphDiff support for EntityFramework Core?

Open khalid99h opened this issue 9 years ago • 16 comments

How long it will take to support EF Core 1.0?

Thanks

khalid99h avatar Oct 14 '16 14:10 khalid99h

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

leonardoporro avatar Oct 14 '16 14:10 leonardoporro

@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?

Adriien-M avatar Jul 24 '17 16:07 Adriien-M

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

MNF avatar Dec 04 '17 12:12 MNF

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

leonardoporro avatar Dec 04 '17 13:12 leonardoporro

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

JonathanMagnan avatar Dec 04 '17 14:12 JonathanMagnan

any update about Core 2 ???

bdairy avatar Dec 21 '17 11:12 bdairy

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

JonathanMagnan avatar Dec 21 '17 12:12 JonathanMagnan

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.

jtheisen avatar Aug 12 '18 15:08 jtheisen

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

JonathanMagnan avatar Aug 12 '18 17:08 JonathanMagnan

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

Added the licence.

jtheisen avatar Aug 13 '18 07:08 jtheisen

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

MelihSevsay avatar Jan 14 '20 08:01 MelihSevsay

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

FigmentCoder avatar Jan 28 '20 19:01 FigmentCoder

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

uprealdigital avatar May 24 '20 19:05 uprealdigital

I would love to use EF core 5

viniciusverasdossantos avatar Feb 08 '21 07:02 viniciusverasdossantos

Is it still no support for EF Core?

MNF avatar Oct 28 '22 21:10 MNF

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

MNF avatar Feb 05 '23 12:02 MNF