NHibernate / Fluent - Mapping multiple objects to single lookup table
- by Al
Hi all
I am struggling a little in getting my mapping right.
What I have is a single self joined table of look up values of certain types. Each lookup can have a parent, which can be of a different type.
For simplicities sake lets take the Country and State example.
So the lookup table would look like this:
Lookups
Id
Key
Value
…