Hi,
This is probably a very simple question but I'm new to nHibernate and I'm having trouble working this out.
I have a Page object, which can have many Region objects. I also have a Workflow object. Page and Region objects both have a relationship to Workflow and it's this double association that I'm having trouble with.
The PageMap has
HasMany(Function(x) x.Regions).Cascade.All()
And the RegionMap has:
References(Function(x) x.Page)
And this all seems to work.
But how do I define the relationship between Workflow and these two objects?