[fluent-nhib] Re: nhibernate subclass problem

2009-05-31 Thread Ɓukasz Podolak
I have same problem: sharparch + Parent - child relationship with my object tree that derives from Entity -> joined-class tables are not pluralized. As I read in this and "IJoinedSubClassConvention never called" post, I added the convention implementation as:

[fluent-nhib] Re: nhibernate subclass problem

2009-05-27 Thread Rui Silvestre
fluent-nhibernate@googlegroups.com > [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of James Gregory > Sent: 27 May 2009 09:00 > To: fluent-nhibernate@googlegroups.com > Subject: [fluent-nhib] Re: nhibernate subclass problem > > That'll be something for the #arch guys,

[fluent-nhib] Re: nhibernate subclass problem

2009-05-27 Thread Martin Hornagold
) { target.WithTableName(Inflector.Net.Inflector.Pluralize(target.EntityType .Name)); } } From: fluent-nhibernate@googlegroups.com [mailto:fluent-nhibern...@googlegroups.com] On Behalf Of James Gregory Sent: 27 May 2009 09:00 To: fluent-nhibernate@googlegroups.com Subject: [fluent-nhib] Re

[fluent-nhib] Re: nhibernate subclass problem

2009-05-27 Thread James Gregory
That'll be something for the #arch guys, I believe. On Tue, May 26, 2009 at 10:01 PM, Rui Silvestre wrote: > > from what I tested the problem is solved... the generated mapping file > was missing the column names and now is OK! > > still there is another issue to be solved: the plurar table names

[fluent-nhib] Re: nhibernate subclass problem

2009-05-26 Thread Rui Silvestre
from what I tested the problem is solved... the generated mapping file was missing the column names and now is OK! still there is another issue to be solved: the plurar table names that i'm specifying by default are not being applied to the subclassed entity... in my database I need to have a Chi

[fluent-nhib] Re: nhibernate subclass problem

2009-05-26 Thread James Gregory
I've just this minuted committed a change that should remedy this problem. Let me know if updating to the latest trunk fixes things. As for the convention you mentioned, you want an IManyToManyConvention, and just set the parent key in there. On Tue, May 26, 2009 at 8:24 PM, Rui Silvestre wrote: