In my app I have two entity in this way:
So, I've two questions:
1- when I delete a "First" entity I want to delete all entity "Characteristics" that belong to first. Do I set the delete rule "Cascade"?
2- If I delete a "characteristics" object from figure, with the method
- (void)removeCharacteristicsObject:(Characteristics *)value;
I want to delete also the characteristics identity, not only from figure, what's the way to do it?
thanks