• 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
Adding to relationships - what method to use?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Adding to relationships - what method to use?


  • Subject: Adding to relationships - what method to use?
  • From: Greg Hulands <email@hidden>
  • Date: Wed, 19 Oct 2005 16:13:42 +1000

Hi,
When adding to or removing from a to-Many relationship, what method is the best practice?


excludeObjectFromPropertyWithKey and includeObjectIntoPropertyWithKey

or

addObjectToBothSidesOfRelationshipWithKey and removeObjectFromBothSidesOfRelationshipWithKey.


With the templates included with EOGenerator, it uses the first one, but with other peoples templates they use the second one.


I have run into an issue with my code so I want to use the correct way.

Regards,
Greg
_______________________________________________
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


  • Follow-Ups:
    • Re: Adding to relationships - what method to use?
      • From: Robert Walker <email@hidden>
    • Re: Adding to relationships - what method to use?
      • From: Peter Vandoros <email@hidden>
  • Prev by Date: Re: Controller class not found
  • Next by Date: Re: Adding to relationships - what method to use?
  • Previous by thread: Re: Creating an iTunes-like app
  • Next by thread: Re: Adding to relationships - what method to use?
  • Index(es):
    • Date
    • Thread