I have a rather large class hierarchy that I'd like to use table per hierarchy with, but with a slight twist. My hierarchy looks like:
Event --> [specific_events] --> Transaction --> [specific_transactions]
I'd like to split this hierarchy into two tables, Event and Transaction. However, all transactions are events, and I believe NHibernate will attempt to put the entire hierarchy in the Event table.
How can I tell it to split the hierarchy between Events and Transactions?
EDIT: I got the hierarchy slightly wrong. All specific_events derive from Event and all Transactions derive from Event, not specific_events.
Event --> [specific_events]
Event --> Transaction --> [specific_transactions]