protected override bool RecordServiceHistory() { AssociateHistory h = new AssociateHistory();; AssignToAssociateHistory(h); foreach (AssociateDetail sd in AssociateDetails) { AssociateHistoryDetail hd = new AssociateHistoryDetail(); AssignAssociateDetailToAssociateHistoryDetail(sd, hd); hd.ServiceHistorySummary = h; ObjScope.Add(hd); } ObjScope.Add(h); return(true); }
protected virtual void AssignToAssociateHistory(AssociateHistory t) { t.HistoryMainLine = this.HistoryMainLine; }