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

Re: Relationship Question


  • Subject: Re: Relationship Question
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 3 Jan 2005 11:31:51 -0800

What is the delete rule on ProPrice to ProPriceSchedule?


On Jan 3, 2005, at 12:30 AM, Greg wrote:

Hi,
I have an entity called ProPriceSchedule that has a to-many relationship to ProPrice. ProPriceSchedule owns the destination of the relationship. When I try to delete the a price object by removeObjectFromBothSidesOfRelationshipWithKey, an exception is thrown and the description is "A <b>Pro Price</b> must have a <b>Price Schedule</b>" I know that this is correct as the relationship is mandatory in the ProPrice entity.


Why when I save the ec after removing the object that this is happening?

Any help is greatly appreciated,

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:
village.net


This email sent to email@hidden

--
Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects




_______________________________________________
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: Relationship Question
      • From: Greg <email@hidden>
References: 
 >Relationship Question (From: Greg <email@hidden>)

  • Prev by Date: No example running in 2005
  • Next by Date: Re: Webobjects-dev Digest, Vol 2, Issue 2
  • Previous by thread: Re: Relationship Question
  • Next by thread: Re: Relationship Question
  • Index(es):
    • Date
    • Thread