I tried, But the key property on IJoinedSubClassInstance (which is the object that is passed to the convention's Apply method) is read-only.
Thanks, Doron On Dec 15, 3:12 pm, James Gregory <[email protected]> wrote: > IJoinedSubclassConvention maybe? > > On Tue, Dec 15, 2009 at 12:48 PM, Doron Yaacoby <[email protected]> wrote: > > Hi, > > I am using table per subclass inheritance, and in each subclass I am > > specifing something like - > > KeyColumn("employee_code"), > > This will map in my subclass table to the column that is a foreign key > > to the parent table. Is it possible to create a convention for this > > (as the default would be Employee_Id)? I could not find out how. > > > Thanks, > > Doron > > > -- > > > 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]<fluent-nhibernate%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/fluent-nhibernate?hl=en. -- 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.
