• 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: Cascade delete when no relationship: how?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cascade delete when no relationship: how?


  • Subject: Re: Cascade delete when no relationship: how?
  • From: Ramsey Gurley <email@hidden>
  • Date: Wed, 19 Mar 2014 13:40:18 -0700

Create the relationship but don’t make it a class property.

On Mar 19, 2014, at 12:30 PM, Jean Pierre Malrieu <email@hidden> wrote:

> Hi,
>
> Suppose I have a mandatory to-one relationship from A to B. Suppose there is no inverse relationship (many A's can be related to the same B, so I don't want many As to be faulted when I fetch a B).
> What if the smarter way to ensure that A is deleted when I delete it's B? (assuming it is the correct behavior for me).
>
> TIA
>
> JPM
> _______________________________________________
> 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


 _______________________________________________
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: Cascade delete when no relationship: how?
      • From: Jean Pierre Malrieu <email@hidden>
    • Re: Cascade delete when no relationship: how?
      • From: Alexander Spohr <email@hidden>
References: 
 >Cascade delete when no relationship: how? (From: Jean Pierre Malrieu <email@hidden>)

  • Prev by Date: Re: D2WKeys link in JavaDoc is missing
  • Next by Date: Re: D2WKeys link in JavaDoc is missing
  • Previous by thread: Re: Cascade delete when no relationship: how?
  • Next by thread: Re: Cascade delete when no relationship: how?
  • Index(es):
    • Date
    • Thread