Hello,
When I add new entities to a collection of sub entities connected to a parent entity and then recursively save the parent entity - new entities are created in the persistent storage.
However if I'll now call clear on the collection and again save the parent entity recursively, the entities aren't removed from the persistent storage. Actually even the connection by FK to the Parent entity isn't removed, so basically nothing happens.
Moreover it seems that deletion on an entity is an operation equal to save and immediately preforms changes, instead of being equal to create/update.
Is there a behavior like Datasets deletion ?
Where you mark for deletion and only calling save on the entity will performs the delete from storage ?