Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity relations

 
Emad El-Agouz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I want 2 know what the arrow in the following relation means:

Foo(0-1)->Bar(0-1)

and what is the difference between that arrow (-> and this arrow (<->

CustomerBean(1) <-> OrderBean(n)

Thank you
 
amol deshpande
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there Emad,

A -> B (unidirectional relationship)
A <-> B (bidirectonal Relationship)

CustomerBean(1) <-> OrderBean(n)

Its a bidirectional relation...
A customer can place many orders.
An order can have only 1 customer.

Amol.
 
Emad El-Agouz
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Amol
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic