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