You can do it with a dictionary:
http://www.nhforge.org/doc/nh/en/#components-dynamic

/Oskar
 Den 20 jul 2014 20:52 skrev "rg" <[email protected]>:

> Hi, is there any dynamic mapping mechanism that would allow me to map some
> db columns into a generic getProperty(name)/setProperty(name, value)
> functions in my c# object? I'd like to be able to map db fields that don't
> have their static representation in a .Net class. Maybe something related
> to 'dynamic' objects in .Net 4.0?
>
> R
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/nhusers.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to