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; }
protected virtual void AssignToDisassociateHistory(DisassociateHistory t) { t.HistoryMainLine = this.HistoryMainLine; t.DisassociateAll = this.DisassociateAll; }