Dynamic-component http://nhforge.org/doc/nh/en/index.html#mapping-declaration-component
and/or http://fabiomaulo.blogspot.com/2010/06/duck-typing-with-nhibernate-reloaded.html Note that are two different stuff. A dynamic-componet is stored as property-bag and represented as a IDictionary. On Wed, Feb 2, 2011 at 8:40 AM, wisnia <[email protected]> wrote: > hello, > > I have a system in which I have Promotions and ich promotions has some > number of Promotion Conditions. The promotion condition can be of many > types and that's why it's stored in the BD in the EAV model. > > How can I retrieve the data and map it to my class? > > What I want to achieve is to have: Promotion.PromotionConditions where > PromotionConditions is some kind of List. In one list their can be > PromotionConditions of many types of course. > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- Fabio Maulo -- 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.
