StrataFrame Forum

Parent-Child Business Object Question

http://forum.strataframe.net/Topic30552.aspx

By Marcia G Akins - 11/9/2011

Hi All.

Will the framework automagically save multiple rows in the child business object when I do a save or do I have to iterate through and issue a save on each row? Just don't want to write more code than I need to Smile
By Ivan George Borges - 11/9/2011

Hi Marcia.

SF will Save every row in the Business Object that is marked for such, just issue a BO.Save(). Also, if you do it on your Child BO, the parent will automatically be saved beforehands, so integrity will be kept.
By Marcia G Akins - 11/9/2011

Ivan George Borges (11/9/2011)SF will Save every row in the Business Object that is marked for such, just issue a BO.Save(). Also, if you do it on your Child BO, the parent will automatically be saved beforehands, so integrity will be kept.


Hi Ivan.

Thanks for the confirmation. I looked at the docs but did not see that bit of information anywhere.