public ExpertBoard(DbDataReader dr)
        {
            GmDataReader gr = new GmDataReader(dr);

            id              = gr.GetInt32();
            patientId       = gr.GetInt32();
            date            = gr.GetDateTime();
            expertBoardData = ExpertBoardData.DeserializeString(gr.GetString());
        }
Exemple #2
0
        public ExpertBoard(DbDataReader dr)
        {
            GmDataReader gr = new GmDataReader(dr);
            int          i  = 0;

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