I noticed that the DiscriminateSubClassOnColumn inline definitions are
depricated. How do I control the value of the discriminator using the
new methodology. Or more specifically how should I replace this code:
public class BaseClassMap : ClassMap<BaseClass>
{
public BaseClassMap()
{
// mappings . . .
DiscriminateSubClassesOnColumn("DISCRIMINATOR",
"BaseValue")
.SubClass<MyClass>("MyValue", m =>
{
// mappings . . .
})
.SubClass<AnotherClass>("AnotherValue", m =>
{
// mappings . . .
});
}
}
--
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.