public override bool delete() { if (!isValid(new List<string>() { "prID", "cdID", "cfValue"})) return false; string sqlCommand = String.Format("delete from Config where cfID={0}", cfID); Sql sql = new Sql(); return sql.deleteConfig(sqlCommand); }