[fluent-nhib] Re: Auto Map Discriminator - Wrong Column Name

2009-11-11 Thread Marcin Budny
Hello, How do I specify discriminator value for subclasses in this scenario? On Nov 11, 2:35 am, Will Smith wrote: > I've come up with an acceptable work around. > > I added the following to the Setup of my AutoPersistenceModel: > >         m.DiscriminatorColumn = t => t.Name + "Type"; > > So,

[fluent-nhib] Re: Auto Map Discriminator - Wrong Column Name

2009-11-10 Thread Will Smith
I've come up with an acceptable work around. I added the following to the Setup of my AutoPersistenceModel: m.DiscriminatorColumn = t => t.Name + "Type"; So, now I have "ScheduleCriteriaType" for my column name. On Nov 10, 11:29 am, Will Smith wrote: > I have the following: > > publi