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

            var dbAtVdc2GetTblHpDonViToByDonViToIdResult = await DbAtVdc2.GetTblHpDonViToByDonViToId($"{DonViTo_ID}");

            tblhpdonvito = dbAtVdc2GetTblHpDonViToByDonViToIdResult;
        }
コード例 #2
0
        protected async System.Threading.Tasks.Task Form0Submit(CanErpHp.Models.DbAtVdc2.TblHpDonViTo args)
        {
            try
            {
                var dbAtVdc2CreateTblHpDonViToResult = await DbAtVdc2.CreateTblHpDonViTo(tblhpdonvito);

                DialogService.Close(tblhpdonvito);
            }
            catch (Exception dbAtVdc2CreateTblHpDonViToException)
            {
                NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblHpDonViTo!");
            }
        }
コード例 #3
0
 protected async System.Threading.Tasks.Task Load()
 {
     tblhpdonvito = new CanErpHp.Models.DbAtVdc2.TblHpDonViTo();
 }
コード例 #4
0
        protected async System.Threading.Tasks.Task Grid0RowSelect(CanErpHp.Models.DbAtVdc2.TblHpDonViTo args)
        {
            var result = await DialogService.OpenAsync <EditTblHpDonViTo>("Edit Tbl Hp Don Vi To", new Dictionary <string, object>() { { "DonViTo_ID", args.DonViTo_ID } });

            await InvokeAsync(() => { StateHasChanged(); });
        }