Exemplo n.º 1
0
        public BenchmarkingTests()
        {
            _databaseConfiguration = new DatabaseBenchmarkingConfiguration
            {
                ConnectionString = "Server=[SERVER];Database=[DB];User Id=[USR];Password=[PWD];",
                TableName        = "BenchmarkEntry2"
            };

            // Clear the database
            ClearDb();

            _benchmarker = new Benchmarker(_databaseConfiguration);
        }
Exemplo n.º 2
0
 /// <summary>
 /// CTOR
 /// </summary>
 /// <param name="databaseConfiguration"></param>
 public Benchmarker(DatabaseBenchmarkingConfiguration databaseConfiguration)
 {
     Configuration = databaseConfiguration;
     CreateBenchmarkTableIfNotExist();
 }