Esempio n. 1
0
        public DataBaseTests()
        {
            var options = new DbContextOptionsBuilder <ProphixDBContext>()
                          .UseSqlServer(SettingsUtils.GetConnectionString("ProphixMetaDatabase"))
                          .Options;

            dbContext = new ProphixDBContext(options);
        }
 public ElasticTests()
 {
     service = new ElasticServiceImpl <ElasticFileInfo>(SettingsUtils.GetConnectionString("ElasticSearchEngine"), "test_index");
 }