Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MrFusion

macrumors 6502a
Original poster
Jun 8, 2005
613
0
West-Europe
Is the following NSManagedModel scheme advisable in core data?
I have entity A and B. A uses B for >1 types of purposes, so A has >1 relationships to B.

From the viewpoint of B, it really doesn't matter what A is doing. It only wants to know which A's are connected. One relationship to A is enough. Can this relationship be used multiple times as the inverse relationship? Is this a good idea? Since I am asking, probably not.

In ascii art:

A =rel.1=> B
A =rel.2=> B
A =rel.3=> B
...

/=inverse rel.1= B
A <= inverse rel.1= B
\=inverse rel.1= B
...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.