How to save the Objects

Hi team, I’m having 3 different pages with 3 different entities, and I connected them with a common entity. Now I want to save the changes at every page and save the attribute details in the common entity. I mean how to save the data throught the pages?   How to save the objects, How to commit them?  
1 answers

Hi Chetan, 


Use a common Number for all the entities as an attribute starting from 1.

if common entity has that number in its attribute then change required attributes from respective sub entities other wise create common entity and commit. Make sure every time you create an object increment sub entity attribute by 1 and copy the same incremented number to the common entity attribute.


There could be other ways to do as well but this could be one solution.