views:

31

answers:

1

Hi. I have 3 tables organization(id, name, and etc) organizationContact(organizationId, contactId, status) contact(id, name, email) How can I make a many to many mapping and use status column from organizationContact?

+1  A: 

For a strict many-to-many mapping, you would just have the organizationId and contactId in the mapping table. Adding the status column would require making a proper entity out of the organizationContact.

g .

related questions