NHibernate mapping multiple relationships between two tables
问题 I have an irritating problem. I've got two objects which are related on two different columns. The relationships are the same (both one-Many) and the structure is as follows BRAND table ID Name [Other stuff] CATEGORY table ID Name BrandID (FK to Brand. Navigation Name Brands) DynamicBrandID (FK to Brand. Navigation Name DynamicBrands [Other stuff] But no matter what I try, I can't get this to work in NHibernate. The HBM files look like they've generated correctly for both objects but no