http://fabiomaulo.blogspot.com/2010/06/duck-typing-with-nhibernate-reloaded.html

On Thu, Dec 16, 2010 at 3:38 AM, SWoods <[email protected]>wrote:

> Hi
>
> First,  I am an NHibernate newbie.  I am just evaluating it to see if
> I can use it in my application. The application effectively permits
> users to create new tables and columns.  I can use the dynamic
> component mapping for handling the situation where users and or remove
> columns. However, I am not quite sure how - or whether it is possible
> - to cater for the situation where users create new tables. Ideally I
> want to use the same class to map onto 1:n tables and specify in the
> mappings (which I modify programmatically) which tables to use.
>
> Now I know I could use reflection to bring a new class into existence
> prior to specifying the mapping relationship with an underlying table,
> but wondered whether there was a way of doing this using the existing
> mapping tools. Given that I'm a newbie, I suspect there probably is.
> (For example, it struck me that instead of referencing a concrete
> class in the mappings I could reference an interface and then be able
> to intercept the object construction process)
>
> Anyway, many thx in advance for any help.
>
> Simon
>
> --
> 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.

Reply via email to