Ejemplo n.º 1
0
        private YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection BuildMarkerCollection(SqlCommand cmd)
        {
            YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection markerCollection = new YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection();

            using (SqlConnection cn = new SqlConnection(YpiConnect.Service.Properties.Settings.Default.ServerSqlConnectionString))
            {
                cn.Open();
                cmd.Connection = cn;
                using (SqlDataReader dr = cmd.ExecuteReader())
                {
                    while (dr.Read())
                    {
                        YellowstonePathology.YpiConnect.Contract.Flow.Marker marker = new Contract.Flow.Marker();
                        YellowstonePathology.Business.Domain.Persistence.DataReaderPropertyWriter propertyWriter = new Business.Domain.Persistence.DataReaderPropertyWriter(dr);
                        marker.WriteProperties(propertyWriter);
                        markerCollection.Add(marker);
                    }
                }
            }

            return(markerCollection);
        }
Ejemplo n.º 2
0
 private void GetMarkerCollection()
 {
     YellowstonePathology.YpiConnect.Proxy.FlowSignoutServiceProxy proxy = new Proxy.FlowSignoutServiceProxy();
     this.m_MarkerCollection = proxy.GetMarkers(this.m_FlowAccession.PanelSetOrderCollection[0].ReportNo);
 }
Ejemplo n.º 3
0
 public YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection GetMarkers(string reportNo)
 {
     YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection markerCollection = this.m_FlowSignoutChannel.GetMarkers(reportNo);
     return(markerCollection);
 }
Ejemplo n.º 4
0
 private void GetMarkerCollection()
 {
     YellowstonePathology.YpiConnect.Proxy.FlowSignoutServiceProxy proxy = new Proxy.FlowSignoutServiceProxy();
     this.m_MarkerCollection = proxy.GetMarkers(this.m_FlowAccession.PanelSetOrderCollection[0].ReportNo);
 }
Ejemplo n.º 5
0
        private YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection BuildMarkerCollection(SqlCommand cmd)
        {
            YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection markerCollection = new YellowstonePathology.YpiConnect.Contract.Flow.MarkerCollection();

            using (SqlConnection cn = new SqlConnection(YpiConnect.Service.Properties.Settings.Default.ServerSqlConnectionString))
            {
                cn.Open();
                cmd.Connection = cn;
                using (SqlDataReader dr = cmd.ExecuteReader())
                {
                    while (dr.Read())
                    {
                        YellowstonePathology.YpiConnect.Contract.Flow.Marker marker = new Contract.Flow.Marker();
                        YellowstonePathology.Business.Domain.Persistence.DataReaderPropertyWriter propertyWriter = new Business.Domain.Persistence.DataReaderPropertyWriter(dr);
                        marker.WriteProperties(propertyWriter);
                        markerCollection.Add(marker);
                    }
                }
            }

            return markerCollection;
        }