public override bool delete() { if (!isValid(new List<string>() { "fInUse", "fScore", "prID"})) return false; string sqlCommand = String.Format("delete from Feature where fID={0}", fID); Sql sql = new Sql(); return sql.deleteFeature(sqlCommand); }