• 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
Re: Copy managed object between contexts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy managed object between contexts?


  • Subject: Re: Copy managed object between contexts?
  • From: Colin Cornaby <email@hidden>
  • Date: Sat, 13 Aug 2005 00:04:54 -0700

"First, note that in a strict sense you are not copying the object. You are conceptually creating an additional reference to the same underlying data in the persistent store. "

The documentation only gives an example for if you are copying between two contexts for the same store. I am not. I am copying between two different contexts between two different stores that use the same schema. It seemed like something that wouldn't be easily supported, but I thought I'd check and see if there is an official way.

On Aug 12, 2005, at 11:21 PM, mmalcolm crawford wrote:


On Aug 12, 2005, at 8:39 PM, Colin Cornaby wrote:


Is there any way to copy a managed object between contexts if each context has the same entities? I can do it manually, I was just wondering if there was a nice more automatic way.


<http://developer.apple.com/cgi-bin/search.pl?q=Copy+managed+object +between+contexts&num=10&site=default_collection>


mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden


--------------------------- Colin Cornaby Lead Programmer, ProToys Macintosh Specialist - University of Portland - htttp://up.edu


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Copy managed object between contexts?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Copy managed object between contexts? (From: Colin Cornaby <email@hidden>)
 >Re: Copy managed object between contexts? (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: [Moderator] Cocoa and list resources
  • Next by Date: Re: Copy managed object between contexts?
  • Previous by thread: Re: Copy managed object between contexts?
  • Next by thread: Re: Copy managed object between contexts?
  • Index(es):
    • Date
    • Thread