示例#1
0
        private async void ExecuteSave()
        {
            //Message = "Saving";
            //OnPropertyChanged("Message");

            await reprepo.SaveAsync(this.ReportDefinition);

            await reprepo.SaveScriptAsync(this.ReportDefinition.ID, this.Script);

            if (Template != null)
            {
                await reprepo.SaveTemplateAsync(this.ReportDefinition.ID, Template.GetTemplateBytes());

                Template.AcceptChanges();
            }

            originalInfo = ReportDefinition.Copy();
            raise();
        }