Example #1
0
        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);
        }
Example #2
0
 protected virtual void AssignAssociateDetailToAssociateHistoryDetail(AssociateDetail s, AssociateHistoryDetail t)
 {
     t.ChildContainer = ResolveContainer(s.ChildContainerName);
 }