private void HandleTestOrderAliquotOrder(DataTable dataTable) { DataTableReader dataTableReader = new DataTableReader(dataTable); while (dataTableReader.Read()) { string aliquotOrderId = dataTableReader["AliquotOrderId"].ToString(); YellowstonePathology.Business.Test.AliquotOrder_Base aliquotOrder = null; foreach (Business.Test.PanelSetOrder panelSetOrder in this.m_AccessionOrder.PanelSetOrderCollection) { foreach (Business.Test.PanelOrder panelOrder in panelSetOrder.PanelOrderCollection) { foreach (Business.Test.Model.TestOrder testOrder in panelOrder.TestOrderCollection) { if (testOrder.AliquotOrderId == aliquotOrderId) { if (testOrder.AliquotOrder == null) { aliquotOrder = new Test.AliquotOrder(); testOrder.AliquotOrder = aliquotOrder; } else { aliquotOrder = testOrder.AliquotOrder; } YellowstonePathology.Business.Persistence.SqlDataTableReaderPropertyWriter sqlDataTableReaderPropertyWriter = new Persistence.SqlDataTableReaderPropertyWriter(aliquotOrder, dataTableReader); sqlDataTableReaderPropertyWriter.WriteProperties(); } } } } } }
public TestOrder() { this.m_AliquotOrder_Base = new Business.Test.AliquotOrder_Base(); this.m_SlideOrderCollection = new Business.Slide.Model.SlideOrderCollection(); }
public TestOrder() { this.m_AliquotOrder_Base = new Business.Test.AliquotOrder_Base(); this.m_SlideOrderCollection = new Business.Slide.Model.SlideOrderCollection(); }