public QuestionnairePageArray(List <QuestionnairePage> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     pages = new QuestionnairePageTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         pages[i] = new QuestionnairePageTO(mdo[i]);
     }
     count = mdo.Count;
 }
示例#2
0
 public QuestionnairePageArray(List<QuestionnairePage> mdo)
 {
     if (mdo == null || mdo.Count == 0)
     {
         count = 0;
         return;
     }
     pages = new QuestionnairePageTO[mdo.Count];
     for (int i = 0; i < mdo.Count; i++)
     {
         pages[i] = new QuestionnairePageTO(mdo[i]);
     }
     count = mdo.Count;
 }