In this post <http://ayende.com/blog/3941/nhibernate-mapping-inheritance>, 
Ayende explains an approach for inheritance using union-subclass. I noticed 
in the mapping, he added a 'table' attribute to his abstract Party class 
mapping. In the image below it, where he shows the database schema, there 
is no such table however.

So, when using union-subclass, where your base class doesn't map to a 
separate table, is specifying the table necessary? Or will NHibernate just 
ignore whatever you specify?

I posted this on 
StackOverflow<http://stackoverflow.com/questions/10739714/do-you-have-to-specify-the-table-for-an-abstract-and-table-less-baseclass-when-u/10739958#10739958>,
 
but we now chose a different approach. If nobody answers the question, I 
might just remove it from SO, but I'm still curious for the answer.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/izglkJkw2qcJ.
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