public void Save() { try { BusinessProcess bp = myA.GetBP(); bp.AddForUpdate(this); bp.Update(); } catch (Exception ex) { this.myBatchDT.RejectChanges(); throw ex; } }
private void SaveTentativeMember() { grexAppealsReadyForAssignment.UpdateData(); this.tribunalMemberAssignmentBindingSource.EndEdit(); atLogic.BusinessProcess bp = myAtMng.GetBP(); bp.AddForUpdate(myMemMng.GetTribunalMemberAssignment()); bp.Update(); }
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(); }