So are you receiving an instance of Configuration from Burrow? Ideally you'd want to be able to pass that instance into the FNH config to be acted upon.
On Tue, Feb 10, 2009 at 3:51 PM, Mark Perry <[email protected]>wrote: > > Hi > > Just trying to get FluentNHibernate and Burrow to work together for a > web app I am working on. > > I can't seem to set the Nhibernate configuration that Burrow is using > or get Burrow to pick up on the > configuration set by Fluently.Configure. I know Nathan Stott managed > to get it working but I have > followed his advice and nothing is currently working for me. > > I can get the config from burrow by using: > > IFrameworkEnvironment fe = new BurrowFramework().BurrowEnvironment; > NHibernate.Cfg.Configuration cfg = fe.GetNHConfig("PersistenceUnit1"); > > //Do work on the config here. > //I want to do cfg=Fluently.Configure() etc.... > //But that doesn't work for me > > fe.RebuildSessionFactories(); > > Can anyone help? > > Thanks, Mark > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en -~----------~----~----~----~------~----~------~--~---
