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