Yes, the framework will walk into each entity and will determine which object needs to be inserted and which one needs to be updated. This is also true for recursive saves, each entity in the node could be inserted or updated depending on the state and the changes made on fields.