Hi,
I'm facing a model design issue an I'm not sure how it's going to fit
with nhibernate.

I've got 3 classes which inherits from each other :

Post is the  base class, LeadPost inherits from  it, and finally
Cutting inherits from both of them.

In the database this hierarchy should be mapped to one table [Post].
That's where it gets tricky as a LeadPost can hold a collection of
Post entities so in my table [Post] there is a field ParentPostID to
indicate which is the parent of a given Post.

I find it difficult to see how the mapping file is going to be for
this table, in particular for the multiple inheritance. Or maybe the
mapping file doesn't need to know about it ?

Any insights would be appreciated.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to