In my core data object model I have two entities that are related with a one to many relationship.
Example:
table A can have many table B’s associated with it.
My question is, when I add table B rows (with the object reference to Table A), do I need to independently save table B, or will the save of Table A also persist table B?
It appears that table B is being persisted when table A is saved.. but I cannot find any documentation to confirm this.. and I want to make sure I don’t run the risk of losing data.
(Core Data saves are very slow.. and saving Table B data independently is a hog).
Don’t think about tables. What gets saved is the managed object context, which translates into: any changes you’ve made to managed objects using that context.