Regular |
|
Joined: Fri Feb 03, 2006 5:28 pm Posts: 73 Location: Québec, QC, Canada
|
Hi,
lets say I have a contact class.
a project class and a company class.
a project may have zore or more contacts. the same goes for company.
how would that work? Both the contact & company class would have a bag of contact.
in the db, the contact table would have to have IdCompany and IdProject in it?
what if many other classes may have 0 or many contacts.. the table contact would have many Ids which would always be null but one, right?
Thanks
|
|