The wiki should really contain something about this, but it doesn't yet. I wrote a blog post about it a while ago though, so you should be able to get started from there: http://blog.jagregory.com/2009/01/05/fluent-nhibernate-subclass-syntax-changes/
On Tue, Mar 3, 2009 at 10:43 PM, mhnyborg <mhnyb...@gmail.com> wrote: > > Can someone help me translation this to fluent nhibernate. > > <class name="Payment" table="PAYMENT"> > <id name="id" type="long" column="PAYMENT_ID"> > <generator class="native"/> > </id> > <discriminator column="PAYMENT_TYPE" type="string"/> > <property name="amount" column="AMOUNT"/> > ... > <subclass name="CreditCardPayment" discriminator-value="CREDIT"> > <property name="creditCardType" column="CCTYPE"/> > ... > </subclass> > <subclass name="CashPayment" discriminator-value="CASH"> > ... > </subclass> > <subclass name="ChequePayment" discriminator-value="CHEQUE"> > ... > </subclass> > </class> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To post to this group, send email to fluent-nhibernate@googlegroups.com To unsubscribe from this group, send email to fluent-nhibernate+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---