Example #1
0
 private void InsertPerformanceRecord(SQLiteConnection conn, CoreGenDescription desc, PerformanceRecord prec)
 {
     var cmd = conn.CreateCommand();
     cmd.CommandText = desc.GetSql_InsertRecord(prec);
     if (cmd.ExecuteNonQuery() < 0)
         throw new IPDatabaseException("unable to insert performance record");
 }