日期:2014-05-20 浏览次数:20901 次
//最近项目中写的看对你可有帮助 /// <summary> /// 更新客户沟通记录信息 /// </summary> /// <param name="wc"></param> public void UpdateWorkCustomerRecord(WORK_CUSTOMERCON wc) { try { DBContext.WORK_CUSTOMERCON.Attach(wc); DBContext.Refresh(RefreshMode.KeepCurrentValues, wc); DBContext.SubmitChanges(ConflictMode.ContinueOnConflict); } catch (Exception ex) { throw ex; } }