Exemplo n.º 1
0
        public Reacard(DbDataReader dr)
        {
            GmDataReader gr = new GmDataReader(dr);

            id          = gr.GetInt32();
            patientId   = gr.GetInt32();
            date        = gr.GetDateTime();
            reacardData = ReacardData.DeserializeString(gr.GetString());
        }
Exemplo n.º 2
0
        public Reacard(DbDataReader dr)
        {
            GmDataReader gr = new GmDataReader(dr);
            int          i  = 0;

            id          = dr.GetInt32(i++);
            patientId   = dr.GetInt32(i++);
            date        = dr.GetDateTime(i++);
            reacardData = ReacardData.Create(gr.GetString(i++));
        }