Last post Jan 17, 2011 02:26 AM by amitpatel.it
Jan 12, 2011 09:07 AM|Rushino|LINK
Sorry if this is a noob question.
But what is considered a many-to-many relationship in a domain model class ? I mean how to implement a many-to-many relationship in a domain model class ? In SQL this is represented by a link table between two table but how this is represented in a domain
model driven application ?
Jan 17, 2011 02:26 AM|amitpatel.it|LINK
We have created below three classes with contains many to many relations.
Here, order is intermediate class which is contails collections of customer and as well as order.
with below Methods in order class.
In order class we have properties for Customer_ID order Product_ID so based on that we can get list of values from that.
classes for many-to-many relations