Esempio n. 1
0
 public bool UpdateIsSendMail(long pId, string LoginName, TransactionDB trans) {
     bool ret = false;
     try {
         ErmTsPersonalInfoLinq erm = new ErmTsPersonalInfoLinq();
         ret = erm.UpdateBySql("update ERM_TS_PERSONAL_INFO set is_send_mail = 'Y' where id='" + pId + "'", trans.Trans);
         erm = null;
     }
     catch (Exception ex) {
         ret = false;
     }
     return ret;
 }