• 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: eogen takeStoredValueForKey(toManyArray, relationshipName)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: eogen takeStoredValueForKey(toManyArray, relationshipName)


  • Subject: Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 3 Mar 2009 08:45:43 -0500

Is there a problem with doing so? Should I change my method to delete all the current relationships, and then loop through the updated array and use "addTo${relationship.capitalizedName}" instead?
This is more of a Wonder question. It is safe WRT to EOF to do this. BUT ERXGenericRecord has some fancy relationship automagic manipulation that may not work. It may work, I don't use it and I don't recall offhand.
I suspect the one that took an array did NOT do an addObjectToBothSides ... To get that to work right, I would recommend remove one-by-and and then readd. If you don't use automatic inverse updating, then you can do whatever you want.

ms

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


References: 
 >eogen takeStoredValueForKey(toManyArray, relationshipName) (From: Dan Faber <email@hidden>)
 >Re: eogen takeStoredValueForKey(toManyArray, relationshipName) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Owns Destination & Deny
  • Next by Date: Re: What's the safe way to round?
  • Previous by thread: Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
  • Next by thread: Re: eogen takeStoredValueForKey(toManyArray, relationshipName)
  • Index(es):
    • Date
    • Thread