I thought I had this one pegged by mapping the intermediary table as a HasMany and between intermediary and child as HasOne, however HasOne expects to share a key. (No Inver
map it as normal references
public class CustomerAddressMap : ClassMap
{
public CustomerAddressMap()
{
Table("CustomerAddress");
Id(x => x.CustomerAddressId);
Map(x => x.FromDate).Not.Nullable();
Map(x => x.ToDate);
References(x => x.Customer, "CustomerId");
References(x => x.Address, "AddressId");
}
}