• 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: refresh an enterprise object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: refresh an enterprise object


  • Subject: Re: refresh an enterprise object
  • From: Nathan Dumar <email@hidden>
  • Date: Tue, 22 Jun 2004 10:21:24 -0400

On Jun 21, 2004, at 10:22 PM, Art Isbell wrote:

On Jun 21, 2004, at 3:58 PM, Nathan Dumar wrote:

I think aProduct is an EO. Are you sure addObjectToBothSidesOfRelationshipWithKey is a method in an EO?

EO's inherit from EOGenericRecord or EOCustomObject, both of which implement EORelationshipManipulation which declares addObjectToBothSidesOfRelationshipWithKey().

Oh, there it is. Thank you.

I haven't needed to use it yet, so I don't know much about it.

You may not have thought you needed to use it yet :-)

Hah! You're right. Now that I (1) know about it, and (2) have read about it and understand it, I've been doing a lot of extra work for nothing! (And I look a bit foolish.)


Not using these methods risks rendering the object graph inconsistent which may have been the problem that spawned the original question in this thread.

And brings a lot of extra work coding both sides of the relationship myself.


Thanks again, Art.

Nathan
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >refresh an enterprise object (From: Goh Keng Boon <email@hidden>)
 >Re: refresh an enterprise object (From: Nathan Dumar <email@hidden>)
 >Re: refresh an enterprise object (From: Nathan Dumar <email@hidden>)
 >Re: refresh an enterprise object (From: Art Isbell <email@hidden>)

  • Prev by Date: Re: Duplicate records
  • Next by Date: only one login per user
  • Previous by thread: Re: refresh an enterprise object
  • Next by thread: Re: NSMacOSRomanStringEncoding / Check your connection
  • Index(es):
    • Date
    • Thread