• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bidirectional One-To-One

 
Lalit mishra
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one doubt in Bidirectional One-to-One mapping.
Suppose there are 2 entities A(owner of the relationship),B
so there should be only one foreign key in Entity A for Entity B.
But suppose its the other way
if B is the owner what will be the case .??
 
Jianfeng Qian
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think:
if B is the owner ,then B has only one foreign key.
In condition of "Bidirectional One-To-One":
the owner side has a foreign key,and the other side doesn't have
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic