You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using subclass automapping, and setting the discriminated value, if the discriminated value is not a string the AutoSubClassPart object can't be created.
System.MissingMethodException : Constructor on type
'FluentNHibernate.Automapping.AutoSubClassPart`1
[[Something.Model.Sender, Something.Core, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null]]' not found.
This is due to the fact that the AutoSubClassPart constructor takes a string as a discriminated value, if we give anything different than a string Activator.CreateInstance can't find the constructor.
Hello,
When using subclass automapping, and setting the discriminated value, if the discriminated value is not a string the AutoSubClassPart object can't be created.
This is due to the fact that the AutoSubClassPart constructor takes a string as a discriminated value, if we give anything different than a string Activator.CreateInstance can't find the constructor.
fluent-nhibernate/src/FluentNHibernate/Automapping/AutoMapping.cs
Lines 162 to 175 in 161ffa1
The text was updated successfully, but these errors were encountered: