So we are working on a Legacy Database that has some interesting table setups.
What we have is a class that contains a state and county. Which we have mapped like so: UseCompositeID().WithKeyProperty(x => x.ID, "XXXXXX").WithKeyProperty (x => x.ID, "YYYYYY"); So now the issue comes when we go to map to that Reference. The table we are mapping from has different column names to begin with, and the bridge table has FK on both the keys, where the table we are referencing from does not. I've tried many of the Reference ideas such as "WithColumnNames" but that throws an error and does not build. If anyone could provide a little insight on what we may do to be able to fix this issue, it would be much appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
