<dynamic-map> of a "normal" usage of NHIf you want see something strange, or
more dynamic, take a look here
http://fabiomaulo.blogspot.com/2008/10/less-than-gof-is-hbm.html

2008/12/20 jeff.jarrell <[email protected]>

>
> I am working on what is to be a heavily data driven application.  One
> of the primary objects is a "Property".  I am going to call it a
> FlexProperty to avoid confusion with what we normally think of as a
> property.
>
> A FlexProperty is largely made up of meta-data.  The meta-data comes
> from one database.  The "value" can be  specific and stored in a
> different database, same database for a default value, or same
> database for a 'style' value.  And the target of the value can change,
> as when the user provides a value for the specific property and thusly
> discarding the default value.
>
> So FlexProperty owns an instance of a FlexPropertyValue.  To add
> insult to injury, FlexPropertyValue works best if it is a generic
> type.
>
> Actually, as I read this it seems like I just handle the FlexProperty
> and the FlexPropertyValue independently in the Dao.  We are still new
> to NH and if this is possible, it would be a complex mapping at that.
>
> Any thoughts?
>
> Thanks,
> jeff
>
> >
>


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