public QuestionnaireSubsectionArray(List <QuestionnaireSubsection> mdo) { if (mdo == null || mdo.Count == 0) { count = 0; return; } subsections = new QuestionnaireSubsectionTO[mdo.Count]; for (int i = 0; i < mdo.Count; i++) { subsections[i] = new QuestionnaireSubsectionTO(mdo[i]); } count = mdo.Count; }
public QuestionnaireSubsectionArray(List<QuestionnaireSubsection> mdo) { if (mdo == null || mdo.Count == 0) { count = 0; return; } subsections = new QuestionnaireSubsectionTO[mdo.Count]; for (int i = 0; i < mdo.Count; i++) { subsections[i] = new QuestionnaireSubsectionTO(mdo[i]); } count = mdo.Count; }