• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
merging instances of an entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

merging instances of an entity


  • Subject: merging instances of an entity
  • From: Amy Gibbs <email@hidden>
  • Date: Sat, 18 Sep 2010 12:41:41 +0100

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@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: merging instances of an entity
      • From: Keary Suska <email@hidden>
  • Prev by Date: [moderator] Re: (no subject)
  • Next by Date: Re: Programmatic View Question
  • Previous by thread: Help not displaying when bundle moved from build directory
  • Next by thread: Re: merging instances of an entity
  • Index(es):
    • Date
    • Thread