Expert |
|
Joined: Fri Oct 28, 2005 5:38 pm Posts: 390 Location: Cedarburg, WI
|
We do this all over the place. A classic example is associating "person" with "company" -- it's many-to-many, and you need to keep a description of the relationship in the association table.
The only thing we do differently is is that the association table also has a single-column surrogate primary key. Its references to the "parent" and "child" tables are foreign keys only.
If possible I would change your association table to work that way, it will work much better with NHibernate. :)
|
|