I have a simplistic object graph which has a single top-level entity with a few child entities some of which are entity collections.
Something similar to:
Top-Level Entity
|
---------------------------------------------------------------
| | | |
Entity Entity Entity Entity
Collection Collection
Only the top-level entity contains information that the user needs to see, and therefore when the model is read it only reads those entities.
When the user deletes one of the top-level entities, I receive that object on the server and as you’d expect I only have its primary key.
My question is this: What is the best way to load/process the object graph to delete each child entity and each entity collection and its children.












