문제

If I have a Conversation entity that can have many messages (another entity), do I set the relationship on the conversation or message or both?

도움이 되었습니까?

해결책

Once you set relationship on Conversation entity, it will automatically create relationship on the other entity. You need to make sure to name them properly as you might want to know what Conversation a Message belongs to and what Messages a Conversation has.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top