示例#1
0
 protected override bool RecordServiceHistory()
 {
     DisassociateHistory h = new DisassociateHistory();
     AssignToDisassociateHistory(h);
     foreach (DisassociateDetail sd in DisassociateDetails)
     {
         DisassociateHistoryDetail hd = new DisassociateHistoryDetail();
         AssignDisassociateDetailToDisassociateHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
示例#2
0
 protected virtual void AssignToDisassociateHistory(DisassociateHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.DisassociateAll = this.DisassociateAll;
 }