Loads and saves entire detached entity graphs (the entity with their child entities and lists). Inspired by GraphDiff.


Keywords
entity, framework, ef, core, detached, graphdiff, ddd, automapper, change-detection, change-tracker, disconected-entities, dotnet, dotnet-core, dotnet-library, dtos, ef-core, efcore, entity-framework, entity-graph, entityframework, mapper, mappers, mapping-entities, orm, tracked-entities
License
MIT
Install
Install-Package EntityFrameworkCore.Detached -Version 1.0.0-preview2

Documentation

Detached Banner

Maps Dtos directly to entities already attached to a DbContext

Solves disconnected entities, partial updates and automapping in a single step

Getting started

Check getting started on the new wiki.

Play in .Net Fiddle

A couple of examples to check library capabilities without installing anything.

Issues and feedback

Please use GitHub Issues tab to report anything you find using the library. All feedback is welcome, I'll try to prioritize and fix everything, but I have limited personal time to work on this.

Changes & Breaking Changes

Please take a look at the new list here.

PR your test!

Fork the project and send me a PR with your tests in the Contrib folder and I will include them so that in the future I won´t break your solution with changes. And I'll make it pass if they are broken because of an issue. I know the library needs ton more of tests, but resources here are limited. Sorry and thanks for your contribution!

Urgent issues

If something is blocking your project and you need help asap, contact me at my e-mail.

Donations & Support

BuyCoffeeBanner

If you like my work and want to Buy me a Coffee, that would be awesome! (mail me if that doesn't work for you)

Thanks for your feedback and kindly donations!:

And thanks to all the people who gave it a try and reported issues! Thanks for your help and patience.

Related tools

Other packages built to provide features to the mapper: