GraphDiff icon indicating copy to clipboard operation
GraphDiff copied to clipboard

Added flag prohibiting GraphDiff from ever removing collection elements ...

Open ghost opened this issue 11 years ago • 1 comments
trafficstars

...from the database (owned or associated). An attempt to provide a config for issue #105. Currently this still loads (has to) all elements of the collection from the database (to be able to compare, what's new/updated etc., while attaching). So this implementation quite definitely has performance issues for the case it is intended to support, because the number of elements in the collection would only ever increase. Probably an (unchecked) append-only mode for collections would be of more value to support this case.

@refactorthis: Do you think this is a useful feature, so I'd be worth investing some time exploring an append-only mode? Would you prefer to do this via the fluent API and/or attribute mappings instead of a global configuration to be more flexible / useful?

ghost avatar Oct 28 '14 20:10 ghost

Hey Andy , i need insert child objects and update it if is need and delete only the relation between the "father" and the "child" but not delete the child object. This feature sounds cool, you think this solves my problem? When i use AssociatedCollection the params of the childrens are empty or null. I wait for your answer.

Thank you!

odimperio avatar Apr 27 '16 03:04 odimperio