Entities with collections

Apr 24, 2012 at 2:20 AM

Hi. Let's say my Person object has a collection of Address objects. How do the DB and the API handle that type of situation? Do I just load/save my Person object as if it were all in one table or do I set up multiple tables? If the latter, what's the proper use of the API?

Thanks  - Dennis

May 4, 2012 at 1:37 PM

Personally, I would create two collections.  Having said that, I _believe_ it will save children as well.  I have not tried that, but I think it will just work.