Duck typing ?Possible:
http://fabiomaulo.blogspot.com/2008/10/less-than-gof-is-hbm.html



2009/6/14 Silvia <[email protected]>

>
>
> Here is the situation:
> I am using fluent nhibernate with a legacy database. I need to map
> some additional columns to a dictionary(?) property in my entity
> dynamically, because I do not know the number of columns and column
> names and other specifications at compile time and I dynamically need
> to work with those columns(insert,update...).There is another object
> which has those information and has a relationship with my main entity
> based on the value of two other columns.Is this possible in
> nhibernate?
> I tried to use DynamicComponent but the problem is I don't know what
> would be the properties in my component.
> I appreciate if someone could help.
> Thanks
>
> (similar problem here:
>
> http://stackoverflow.com/questions/672840/nhibernate-map-unknown-amount-of-columns-to-dictionary/989891#989891
> )
>
>
> >
>


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

Reply via email to