Just “dot through” the N-1
relationship: an order has a unique
PizzaSize object bound to it
order.getSize().getSizeName() //Hibernate/Java
order.Size.SizeName //
EDM/C#
The N-N relationship to
Toppings: an order has a collection of
Toppings:
for (Topping t: order.getToppings()) //Hibernate/Java
// do something
with t
foreach (Topping t in order.Topping) // EDM/C#
// do something
with t