public static void ClassInitialize(TestContext context)
 {
     SessionFactory         = MetSessionFactorySettings.GetNewSessionFactory("Server=WIN-RP56U0UJDMQ;Initial Catalog=MetCounterService;User Id=Superuser;Password=1234567890");
     AsystentSessionFactory = AsystentFactorySettings.GetNewSessionFactory("User=SYSDBA;Password=masterkey;Database=D:\\data\\test.fdb;DataSource=WIN-RP56U0UJDMQ; Port = 3050; Dialect = 3; Charset = NONE; Role =; Connection lifetime = 15; Pooling = true; MinPoolSize = 0; MaxPoolSize = 50; Packet Size = 8192; ServerType = 0;");
 }
 public static void ClassInitialize(TestContext context)
 {
     SessionFactory = MetSessionFactorySettings.GetNewSessionFactory("Server=WIN-RP56U0UJDMQ;Initial Catalog=MetCounterService;User Id=Superuser;Password=1234567890");
 }
        public static void RegisterDatabaeses(string asystentConnectionString, string copyinfoDatabase)
        {
            var sessionProvider = Container.Resolve <IDatabaseSessionProvider>();

            sessionProvider.AddNewDatabaseSessionFactory(DatabaseType.CounterService, MetSessionFactorySettings.GetNewSessionFactory(copyinfoDatabase));
            sessionProvider.AddNewDatabaseSessionFactory(DatabaseType.Assystent, AsystentFactorySettings.GetNewSessionFactory(asystentConnectionString));
        }