Joined: Wed Aug 27, 2008 9:08 pm Posts: 4
|
version 1.1
Any ideas from anyone?
Hi all,
I have a question regarding subclassing in NHibernate using discriminators. My problem is that the discriminator I need to use is not a simple property of the parent class but rather is a property of one of the many to one properties of the parent class. How can I use a discriminator in this situation.
I can't just say something like <discriminator column="HouseID" /> because House is a many to one property. I need to do something like the following:
<discriminator column="House.ManufacturerID" /> How can I do this?
|
|