//更新 public static bool ExecNoObj(string sql) { using (DataConnection c = new DataConnection()) { ProcedureDAL dal = new ProcedureDAL(c.Connection, c.Transaction); return(dal.ExecUpdata(sql)); } }
//更新附件状态 public static bool ExecUpdataObj(string sql, DataConnection c) { // using (c) { ProcedureDAL dal = new ProcedureDAL(c.Connection, c.Transaction); return(dal.ExecUpdata(sql)); } }