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 AssignAssociateDetailToAssociateHistoryDetail(AssociateDetail s, AssociateHistoryDetail t) { t.ChildContainer = ResolveContainer(s.ChildContainerName); }