Hi,

in a core data app, is there an easy way to 'merge' two instances of an entity, for example where something has been accidentally added twice, and each instance has it's own relationships.

I'd like to merge the two instances into a single one where basically all of the second instances relationships are copied to the first instance, then the second instance is deleted. In my scenario I think it would be OK to just 'add' the second instances details to the first, I don't see that anything in the second instance would cause data/relationships to be deleted in the first.

If I have to do this manually, is it that simple, just copy the relationships (not that I know how to do that but it must be possible) and delete the second instance?

Thanks,
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to