Hi All,
Is there any possible way to use a mapped many-to-one property as discriminator.
My mapping looks like this
Reference(x => x.BusinessType);
DiscriminateSubClassesOnColumn("BusinessTypeId")
.AlwaysSelectWithValue()
.Length(3);
It generated the right table with the association but when saving, I encounter exception "Invalid Index 8 for this SqlParameterCollection with...".
I believe it is generating duplicate mapping for "BusinessTypeId".
Thank you in advance.
Best Regards,
Johnny