Fabio, can you more elaborate on this? Since I'm so "new" to Nhibernate.

All clues that I got from your reply is, we CAN solve it in CODE.

But HOW? Any links/references on this? Please give me enlightment.

 

Btw, I do the mapping with xml files. But it doesn't matter if we must do it
in code to solve this.

 

 

From: [email protected] [mailto:[email protected]] On Behalf
Of Fabio Maulo
Sent: 24 Mei 2011 5:24
To: [email protected]
Subject: Re: RE: [nhusers] Quick Question - Component Inheritance

 

The answer is yes.

What you have to do is just split the concept in the domain-model from the
concept in the mapping.

In the mapping a component does not have an ancestor, that does not mean
that you can't have it in your C# code.

With sexy-by-far-mapping (aka mapping-by-code) the matter is solved even for
the mapping ;)

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

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