コード例 #1
0
        protected async System.Threading.Tasks.Task Load()
        {
            canEdit = true;

            var dbAtVdc2GetTblHpXiNghiepByXiNghiepIdResult = await DbAtVdc2.GetTblHpXiNghiepByXiNghiepId($"{XiNghiep_ID}");

            tblhpxinghiep = dbAtVdc2GetTblHpXiNghiepByXiNghiepIdResult;
        }
コード例 #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpXiNghiep args)
        {
            try
            {
                var dbAtVdc2UpdateTblHpXiNghiepResult = await DbAtVdc2.UpdateTblHpXiNghiep($"{XiNghiep_ID}", tblhpxinghiep);

                DialogService.Close(tblhpxinghiep);
            }
            catch (Exception dbAtVdc2UpdateTblHpXiNghiepException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblHpXiNghiep");
            }
        }
コード例 #3
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpXiNghiep args)
        {
            var result = await DialogService.OpenAsync <EditTblHpXiNghiep>("Edit Tbl Hp Xi Nghiep", new Dictionary <string, object>() { { "XiNghiep_ID", args.XiNghiep_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }
コード例 #4
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblhpxinghiep = new CanErpHp.Models.DbAtVdc2.TblHpXiNghiep();
 }