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 AssignDisassociateDetailToDisassociateHistoryDetail(DisassociateDetail s, DisassociateHistoryDetail t) { t.ChildContainer = ResolveContainer(s.ChildContainerName); }