Пример #1
0
 public void Save()
 {
     try
     {
         BusinessProcess bp = myA.GetBP();
         bp.AddForUpdate(this);
         bp.Update();
     }
     catch (Exception ex)
     {
         this.myBatchDT.RejectChanges();
         throw ex;
     }
 }
Пример #2
0
 private void SaveTentativeMember()
 {
     grexAppealsReadyForAssignment.UpdateData();
     this.tribunalMemberAssignmentBindingSource.EndEdit();
     atLogic.BusinessProcess bp = myAtMng.GetBP();
     bp.AddForUpdate(myMemMng.GetTribunalMemberAssignment());
     bp.Update();
 }
Пример #3
0
        public void Import(string path, int rootIssueId, int targetIssueId, int rootFileId)
        {
            appDB ds = new appDB();

            ds.ReadXml(path);

            appDB.IssueDataTable tempIssues = ds.Issue;

            appDB.IssueRow ir  = tempIssues.FindByIssueId(rootIssueId);
            appDB.IssueRow pir = myIssueDT.FindByIssueId(targetIssueId);


            ImportNode(tempIssues, ir, pir, rootFileId);

            BusinessProcess bp = myA.GetBP();

            bp.AddForUpdate(this);
            bp.Update();
        }