Example #1
0
 public override bool delete()
 {
     if (!isValid(new List<string>() { "prID", "mrName", "mrPath" }))
         return false;
     string sqlCommand = String.Format(@"delete from MainRoad where mrID={0}", mrID);
     Sql sql = new Sql();
     return sql.deleteMainRoad(sqlCommand);
 }