示例#1
0
文件: Config.cs 项目: Leooonard/CGXM
 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);
 }