The typical way to do this is when you're calling the DiscriminateSubClassesOnColumn method to pass in a second parameter that's the default value.
On Fri, May 1, 2009 at 2:22 PM, Chuck <[email protected]> wrote: > > I was trying to find a FNH way to add the class's discriminator-value > attribute. I ended up using the SetAttribute method, but was wondering > if there was a different way. > > <class name="WebPart" table="`WebPart`" xmlns="urn:nhibernate- > mapping-2.2" discriminator-value="WebPart"> > > TIA > > C > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
