public void DUpdate() { Project.manufacture_number = ManufactureNumber; Project.model_number = ModelNumber; Project.project_name = ProjectName; Project.plan_version_id = PlanVersionID; Project.record_date = RecordDate; Project.plan_update_date = PlanUpdateDate; Project.remark = Remark;; Project.year_number = YearNumber; Project.remind_day = ProjectRemindDay; Project.accomplish_mark = accomplishMark; Project.isdelete = this.isDelete; Project.deletedescript = deleteDescript; Project.isFreeze = isFreeze; Project.isFreezedescript = isFreezeDescript; Project.delete_user_id = deleteUserID; Project.add_user_id = addUserID; Project.last_modify_user_id = lastModifyUserID; Project.delivery_time = deliveryTime; Project.contract_number = contractNumber; Project.invoice_completion_time = invoiceCompletionTime; if (UserRemindEntity != null) { UserRemindEntity.DUpdate(); } }
public void StartRemindEdit() { if (PlanManagerDomainContext != null && UserRemindEntity == null) { UserRemindEntity = new UserRemindEntity(); UserRemindEntity.UserRemind = new ProductManager.Web.Model.user_remind(); UserRemindEntity.ManufactureNumber = manufactureNumber; App app = Application.Current as App; UserRemindEntity.UserId = app.UserInfo.UserID; UserRemindEntity.DUpdate(); PlanManagerDomainContext.user_reminds.Add(UserRemindEntity.UserRemind); } }
public void StartRemindEdit() { if (PlanManagerDomainContext != null && UserRemindEntity == null) { UserRemindEntity = new UserRemindEntity(); UserRemindEntity.UserRemind = new ProductManager.Web.Model.user_remind(); UserRemindEntity.ManufactureNumber = manufactureNumber; App app = Application.Current as App; UserRemindEntity.UserId = app.UserInfo.UserID; UserRemindEntity.DUpdate(); PlanManagerDomainContext.user_reminds.Add(UserRemindEntity.UserRemind); } }