Data Core Entity Relationships

Hi,

I have a problem to create the appropriate relations ship in Core Data. For example, I have an entity Persons [name, lastname, address] also an entity FriendShips. I can create a One-to-Many relationship from Persons to FriendShips, but how do I fill the FriendShips with the Persons Entities
?
In a ‘regular’ sql database I would use the id’s from the Persons and store them in the FriendShips. How is this achieved in Data Core?

@grebleem Thanks very much for your question!

I’m not sure I understand what you’re asking. Could you please provide the properties of your Friendships entity? From what I can tell, a “Person” would be friends with other “Person” entities, so I am confused with what the “Friendships” entity looks like. If you could explain that to me, I would appreciate it.

This topic was automatically closed after 166 days. New replies are no longer allowed.