public void Reinitialize()
 {
     lock (_factorySync)
     {
         _configuration = null;
         _sessionConfigurationCache.Reset();
         ShellBlueprint = BluePrintFactory();
         //LazySessionFactory = new Lazy<ISessionFactory>(() => BuildSessionFactory(), true);
         LazySessionFactory = BuildSessionFactory();
     }
 }