Ejemplo n.º 1
0
 public QuestionnaireArray(List <Questionnaire> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     questionnaires = new QuestionnaireTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         questionnaires[i] = new QuestionnaireTO(mdo[i]);
     }
     count = mdo.Count;
 }
Ejemplo n.º 2
0
 public QuestionnaireArray(List<Questionnaire> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     questionnaires = new QuestionnaireTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         questionnaires[i] = new QuestionnaireTO(mdo[i]);
     }
     count = mdo.Count;
 }