Fluent NHibernate Automappings generating 2 foreign keys for 1 relationship
问题 I have this setup (condensed for brevity) Class Employee virtual IList<ChecklistItem> HasInitialed { get; private set; } Class ChecklistItem virtual Employee InitialedBy { get; set; } When this is generated I get these tables Employee Id ChecklistItem Id InitialedBy_id <---- Employee_id <---- The ChecklistItem has 2 foreign keys for Employee, I'm assuming Employee_id to map ChecklistItem.Employee and InitialedBy_id to map ChecklistItem.InitialedBy. How can I tell NHibernate that this is the