Another possible option would be to do .BuildConfiguration() instead of
.BuildSessionFactory() to get the NHibernate Configuration object. From
there you can access the mappings that it is aware of, but I've never used
it for anything except adding event listeners so I can't say how robust it
is. However, a brief glance at the Object Browser shows it has numerous
methods like "AddProperty" and "AddSubclass".

On Tue, Sep 15, 2009 at 2:33 PM, Hudson Akridge <hudson.akri...@gmail.com>wrote:

> Well, Technically you can export the XML to some files using the
> .ExportTo() in the FluentConfig, then modify them, then load FNH with those
> XML documents.
> Not sure if there's a simpler way.
>
> On Mon, Sep 14, 2009 at 10:43 PM, Anthony Gatlin <gatl...@gmail.com>wrote:
>
>>
>> Here is another Newbie question. I am sure this is a no-brainer for
>> those that have worked with FNH or NH for a while, but for me, being a
>> Newbie, the answer is elusive. Any suggestions would be appreciated.
>>
>> I think I read somewhere (before the docs went down) that it is
>> possible to modify mappings after the XML is generated but before it
>> is sent to NHibernate. Did I understand this correctly? If so, how is
>> it done?
>>
>> Thanks again!
>>
>> Anthony
>>
>>
>
>
> --
> - Hudson
> http://www.bestguesstheory.com
> http://twitter.com/HudsonAkridge
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Fluent NHibernate" group.
To post to this group, send email to fluent-nhibernate@googlegroups.com
To unsubscribe from this group, send email to 
fluent-nhibernate+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/fluent-nhibernate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to