I appreciate your help in this matter, as I am not able to find a solution for this using nhibernate; I am new to it anyway.
We do have an inheritance mapping problem where we have a Contact table, and an Customer table; where the Customer extends the Contact object; however, for the same Contact there can be multiple Customers (we do have some business case for this!). The Customer table has primary key column, and another column as foreign key column that references the Contact table.
The problem is that inheritance mapping using the joined-class looks to support one-to-one association/mapping between the base class and the derived class using the key element. Is there way to handle this case, any suggestion?
Again, appreciating your support and help
Thank you and Regards,
Ali
|