just wanted to know how do I create an inverse relationship with one side being to-One RelationShip and other side being to-Many Relationship. Senario is that I am creating a chat messenger where I have "Contact" Entity and "Message" Entity. Now, what I want is that relationship from Message-->Contact should be to-One Relationship while Contact-->Message should be to-Many Relationship as one Contact can have multiple message. How do I set this? I have now added the screenshot for my data modal. Please have look and let me know. My P2PChat is ChatMessage Class and Contact is Contacts Class.




