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);
Snippet

     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

-- 
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en.

Reply via email to