[fluent-nhib] Re: Question: Modifying mappings after they are generated by FNH but before they are sent to NHibernate

2009-09-15 Thread Anthony Gatlin
Stuart, That's it. The BuildConfiguration is what I remember reading about. I'd certainly like to take a look at that. It might be just what I need. I also find Hudson's idea interesting. Although its not pretty, exporting the xml and transforming it in some way might overcome some limitations.

[fluent-nhib] Re: Question: Modifying mappings after they are generated by FNH but before they are sent to NHibernate

2009-09-15 Thread Stuart Childs
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. H

[fluent-nhib] Re: Question: Modifying mappings after they are generated by FNH but before they are sent to NHibernate

2009-09-15 Thread Hudson Akridge
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 wrote: > > Here is another Newbie question. I am sure th