Hi - I have a "funny" association between two tables in a legacy database we are moving to NHibernate:
A Id:int ... B: AId:int ... What it says is that the primary key of B is both primary key of B and a foreign key to A, thus sharing the same values as A. B is not required thus I guess you would call it a 0-1. I cannot get my head around mapping this. If only B had an extra Id column for the primary key, it would be easy enough. Any suggestions? Regards Thomas Koch --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
