private void SetChanges() { this.SetDeletes(); this.m_FlowAccessionCollection.AddChanged(this.m_FlowAccessionCollectionChanges); foreach (FlowAccession flowAccession in this.m_FlowAccessionCollection) { flowAccession.PanelSetOrderCollection.AddChanged(this.m_PanelSetOrderCollectionChanges); foreach (Domain.PanelSetOrder panelSetOrder in flowAccession.PanelSetOrderCollection) { Domain.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (Domain.PanelSetOrderLeukemiaLymphoma)panelSetOrder; panelSetOrderLeukemiaLymphoma.FlowMarkerCollection.AddChanged(this.m_FlowMarkerCollectionChanges); if (panelSetOrderLeukemiaLymphoma.HasChanges()) { FlowLeukemia flowLeukemia = new FlowLeukemia(panelSetOrderLeukemiaLymphoma); this.m_FlowLeukemiaCollectionChanges.Add(flowLeukemia); } } } }
private void SetChanges() { this.SetDeletes(); this.m_FlowAccessionCollection.AddChanged(this.m_FlowAccessionCollectionChanges); foreach (FlowAccession flowAccession in this.m_FlowAccessionCollection) { flowAccession.PanelSetOrderCollection.AddChanged(this.m_PanelSetOrderCollectionChanges); foreach(Domain.PanelSetOrder panelSetOrder in flowAccession.PanelSetOrderCollection) { Domain.PanelSetOrderLeukemiaLymphoma panelSetOrderLeukemiaLymphoma = (Domain.PanelSetOrderLeukemiaLymphoma)panelSetOrder; panelSetOrderLeukemiaLymphoma.FlowMarkerCollection.AddChanged(this.m_FlowMarkerCollectionChanges); if (panelSetOrderLeukemiaLymphoma.HasChanges()) { FlowLeukemia flowLeukemia = new FlowLeukemia(panelSetOrderLeukemiaLymphoma); this.m_FlowLeukemiaCollectionChanges.Add(flowLeukemia); } } } }