public void Config(IBurrowConfig val)
 {
     XmlConfigurator.Configure();
       NHibernateProfiler.Initialize();
       var unit = new PersistenceUnitElement
            {
              Name = "persistenceUnit1",
              NHConfigFile = null
            };
       val.PersistenceUnitCfgs.Add(unit);
 }
 public void TestFixtureSetup()
 {
     bf = new BurrowFramework();
     bf.BurrowEnvironment.ShutDown();
     PersistenceUnitElement item = new PersistenceUnitElement();
     item.NHConfigFile = "~/MultiDB/SecondPU.Cfg.xml";
     PersistenceUnitElement item2 = new PersistenceUnitElement();
     item2.NHConfigFile = "~/MultiDB/FirstPU.Cfg.xml";
     
     bf.BurrowEnvironment.Configuration.PersistenceUnitCfgs.Clear();
     bf.BurrowEnvironment.Configuration.PersistenceUnitCfgs.Add(item);
     bf.BurrowEnvironment.Configuration.PersistenceUnitCfgs.Add(item2);
     bf.BurrowEnvironment.Start();
    new  SchemaUtil().CreateSchemas(false, true);
 }