Brunet.Simulator.Regression.NatTest.StoreTestResult C# (CSharp) Метод

StoreTestResult() защищенный Метод

protected StoreTestResult ( System.Test test, System.Result result ) : void
test System.Test
result System.Result
Результат void
    protected void StoreTestResult(Test test, Result result)
    {
      IDbConnection dbcon = new SqliteConnection(_db_con);
      dbcon.Open();
      IDbCommand dbcmd = dbcon.CreateCommand();

      string method = test.Method.Name;
      int testid = GetTestId(dbcmd, method);
      string sql = "INSERT INTO nat_results (iter, testid, ta_type, time, throughput) VALUES (" +
        CurrentIter + ", " + testid + ", \"" + result.TAType + "\", " + result.Time + ", " +
        result.Throughput + ")";
      dbcmd.CommandText = sql;
      dbcmd.ExecuteNonQuery();

      dbcmd.Dispose();
      dbcon.Close();
    }