After trying several options of having a decent mechanism which allows to use ObservableCollections with the option to dynmically having them updated using an Edit window and binding, without having the global collections updated while making changes on the bound controls, so far the best solution seems to be : Clone the entity, detach the old one, attach the new one, mark it updated and save.
But oops, the following exception follows:
The relationship manager supplied by the object implementing IEntityWithRelationships is not the expected relationship manager.
Does someone knows how to solve this ?
b.t.w - Please dont offer to use serialization, nor reflection or the Matthieu MEZIL entity cloner as from performance issue (takes several seconds to copy the whole entitygraph).
Thanks, Oran