[fluent-nhib] Re: Wrong class exception with discriminator sub class

2009-01-30 Thread James Gregory
Excellent, glad it worked out. On Fri, Jan 30, 2009 at 12:46 PM, chris wrote: > > Thanks for your help James. I knew about the new syntax stuff and > have a plan to move over to it already. > > And... I also read your blog post and managed to completely ignore > it! that worked a treat. > > Be

[fluent-nhib] Re: Wrong class exception with discriminator sub class

2009-01-30 Thread chris
Thanks for your help James. I knew about the new syntax stuff and have a plan to move over to it already. And... I also read your blog post and managed to completely ignore it! that worked a treat. Below is corrected code that works fine, just in case anyone is interested. DiscriminateS

[fluent-nhib] Re: Wrong class exception with discriminator sub class

2009-01-29 Thread James Gregory
Firstly, I can tell by your code that you're on an older version of Fluent NHibernate - I'd advise updating as the join stuff has changed. You should read this for the join syntax changes: Fluent NHibernate SubClass syntax changes