Exemple #1
0
 public override bool save()
 {
     if (!isValid(new List<string>() { "fID"}))
         return false;
     string sqlCommand = String.Format("insert into Feature (fInUse,fScore,prID) values ({0},{1},{2})", fInUse, fScore, prID);
     Sql sql = new Sql();
     return sql.insertFeature(sqlCommand);
 }