protected override bool RecordServiceHistory() { CombineHistory h = new CombineHistory(); AssignToCombineHistory(h); foreach (CombineFromDetail hd in FromContainerDetails) { CombineHistoryDetail shd = new CombineHistoryDetail(); AssignCombineDetailsToCombineHistoryDetail(hd, shd); shd.ServiceHistorySummary = h; ObjScope.Add(shd); } ObjScope.Add(h); return true; }
protected virtual void AssignToCombineHistory(CombineHistory t) { t.HistoryMainLine = this.HistoryMainLine; t.CloseWhenEmpty = this.CloseWhenEmpty; }