Why is it Object and not another (more specific) common base class? NHibernate can handle polymorphism, but I believe you need to decide in advance what concrete classes to handle.
/Oskar 2010/1/27 Max Mercury <[email protected]>: > Hi mates, I'm new in Nhibernate and in my first project i have to map > a property of type System.Object. > The property is assigned at runtime, how is supposed i map that > property? > It can be of TypeA or TypeB and each type has different property to be > saved in different field in the table. > Thanks for help couse i'm completly stuck at the moment! > > Massimo. > > -- > 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.
