title: Deleting Relationship Objects with Cascade in Core Data
body: <p>I'm looking to perform some simple deletion with Core data but just need a bit of advice on this one please. </p>
  
  <p>I have a model with Transaction, Name, Event and Date Entities. The Transaction has a link to each of the other Entities. </p>
  
  <p>In the app, when a user adds in information to text fields, that gets saved to a 4 tab table view controller. </p>
  
  <p>The first tab is using NSFetchedResultController with a fetchRequest on the Transaction Entity. The second tab is using the Name Entity, the third is using the Event and the fourth is using the Date Entity. </p>
  
  <p>If I delete an entry from the Transaction tab, it deletes just that transaction which makes sense. </p>
  
  <p>What I want is to be able to delete a person from the Name tab, or an event from the Event tab and have that cascading through the model of the app. So if Bob has multiple transactions, deleting him the transaction tab will delete that one transaction. </p>
  
  <p>If I delete BOB from the name tab, it should deleting him from every event that he was part off with every date and Transaction. </p>
  
  <p>The same applies for the events and dates. </p>
  
  <p><strong>EDIT: Update to include data model</strong></p>
  
  <p><strong>Note: Year Entity is experimental and currently not being used</strong>
  <img src="https://i.stack.imgur.com/N0Lkm.png" alt="enter image description here">
  How would I go about doing something like this?</p>
  
  <p>Thanks</p>