예제 #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();
        }