Я использую Fluent Mapping для проекта с этим ClassMap
:
public class PricingMap : ClassMap<Pricing>
{
public PricingMap()
{
Init();
}
private void Init()
{
Table("distributership_pricing");
...
References(x => x.Product);
References(x => x.Distributor);
}
}
Для ссылок, почему он генерирует ProductId
для отношения продукта и Distributor_Id
для распространителя?