• 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: Problem in Many-Many Relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem in Many-Many Relationship


  • Subject: Re: Problem in Many-Many Relationship
  • From: Radwar <email@hidden>
  • Date: Tue, 8 Apr 2003 19:55:18 -0400

   currentRole.addToToUsers(selectedUser);
   this.session().defaultEditingContext().saveChanges();


use the method currentRole.addObjectToBothSidesOfRelationshipWithKey(object, relationship_name) method, to properly set the foreign keys.


-Seejo
_______________________________________________
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.

  • Follow-Ups:
    • Re: Problem in Many-Many Relationship
      • From: Meena Srinivasan <email@hidden>
    • Re: Problem in Many-Many Relationship
      • From: Meena Srinivasan <email@hidden>
References: 
 >Problem in Many-Many Relationship (From: Meena Srinivasan <email@hidden>)

  • Prev by Date: Re: action binding with conditionals
  • Next by Date: Re: New to webobjects
  • Previous by thread: Problem in Many-Many Relationship
  • Next by thread: Re: Problem in Many-Many Relationship
  • Index(es):
    • Date
    • Thread