GraphDiff
GraphDiff copied to clipboard
GraphDiff is a library that allows the automatic update of a detached graph using Entity Framework code first.
The returned entity from UpdateGraph does not contain navigation properties of associated entities, i.e. if we have ``` public class Foo { [Key] public int Id { get; set; }...
Hi guys, I am working on an enterprise project where the main entity is very complex, quite few OwnedCollections in other OwnedCollections etc.The first update takes around 10 second using...
I can sometimes cache the unchanged state of an entity from the db. I tried attaching it to the context just before UpdateChanges but GraphDiff still queries the db. How...
RemoveElement won't work if the collection is an array ``` private void RemoveElement(IChangeTracker changeTracker, object dbItem, object dbCollection) { dbCollection.GetType().GetMethod("Remove").Invoke(dbCollection, new[] { dbItem }); changeTracker.AttachRequiredNavigationProperties(dbItem, dbItem); if (_isOwned) { changeTracker.RemoveItem(dbItem);...
I'm not at my work machine at the moment, so I can't give the exact details, but here's the idea. I'll provide more concrete details tomorrow. Say you have a...
Think about adding support for mapping of recursive data structures of non-predetermined depth as requested [here](http://stackoverflow.com/questions/26511202/updategraph-with-self-referencing-entity).
I would like to know if we can define if specific attribute of the entity is not to be updated. eg. public class myclass { public string col1; public string...
Hi I can't get many-to-many relation to update. Does it suppose to work? I have wo questions: 1. Just to be sure - What is difference between Associated and Owned?...
Life gets better when assemblies are strongly named :)
simple question: how do I delete a root object (including everything thats "owned") when not relying on DB's cascadig delete functionality using GraphDiff? Is this a feature?