use nhibernate; http://www.nhforge.org/doc/nh/en/index.html#inheritance
BTW; you will never need a property or field for the discriminator. <http://www.nhforge.org/doc/nh/en/index.html#inheritance> 2010/7/14 Eduardo Costa <[email protected]> > Hi, > > I have this problem. > > Class A > { > string Discriminator; > } > > Class B inherits A > { > } > > I need when I get a list of Class A find A plus B and when I get a > list of Class B find only B based in discriminator property > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- You received this message because you are subscribed to the Google Groups "nhusers" 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/nhusers?hl=en.
