iphone coredata removing records between two entities connected by relation ship
Posted
by satyam
on Stack Overflow
See other posts from Stack Overflow
or by satyam
Published on 2010-05-11T10:24:54Z
Indexed on
2010/05/11
18:44 UTC
Read the original article
Hit count: 175
I'm implementing core data in my iphone app. It has two entities. Entity1: LatestData Entity2: LatestDetailedData
LatestData has URL, publishedDate, heading LatestDetailedData has URL, NewsDescription, PublishedDate, Author
Both entities have same URL for a record. Both the entities are connected with inverse relation ship. And the relation ship is "delete->Cascaded"
What I want: If I remove a record in LatestData, I want the record with same URL in LatestDetailedData must also be deleted.
How?
© Stack Overflow or respective owner