Link
department : Department ; // link = single Departmentitems : PurchaseOrderItem[] ; // link = collection of PurchaseOrderItemCardinalities
"Many To One"
Employee {
department : Department ; // Many-to-One due to single reference to Department
}"One To One"
"One To Many"
"Many To Many"
Links and database joins
Link based on an explicit Foreign Key
Link based on model attributes
Link based on a join table
Other annotations for links
Last updated