public void Create(ERP_C006_ProcessFlow_Process ERP_C006_ProcessFlow_Process)
        {
            ERP_C006_ProcessFlow_Process.CreateDt = DateTime.Now;
            tb_Sys_User tempUser = appCacheService.GetItem("user") as tb_Sys_User;

            ERP_C006_ProcessFlow_Process.CreateUser = tempUser.UserName;
            ERP_C006_ProcessFlow_Process.Validate();
            this.ERP_C006_ProcessFlow_ProcessRepository.Add(ERP_C006_ProcessFlow_Process);
            this.runtimeService.Commit();
        }
        public void Update(ERP_C006_ProcessFlow_Process ERP_C006_ProcessFlow_Process)
        {
            ERP_C006_ProcessFlow_Process.ModifyDt = DateTime.Now;
            tb_Sys_User tempUser = appCacheService.GetItem("user") as tb_Sys_User;

            ERP_C006_ProcessFlow_Process.ModifyUser = tempUser.UserName;
            ERP_C006_ProcessFlow_Process.Validate();
            var existstb_Sys_Menu = this.GetById(ERP_C006_ProcessFlow_Process.Id);

            this.ERP_C006_ProcessFlow_ProcessRepository.SetValues(ERP_C006_ProcessFlow_Process, existstb_Sys_Menu);
            this.runtimeService.Commit();
        }