private static MinorType CreateMinorType() { MinorType m = new MinorType(); m.Name = new List <string>(); m.Name.Add("MajorTypeName"); m.ProgramId = new List <EntityIdType>(); EntityIdType id = CreateEntityIdType(); m.ProgramId.Add(id); return(m); }
private static SchoolOrInstitutionTypeDegree CreateSchoolOrInstitutionTypeDegree() { SchoolOrInstitutionTypeDegree s = new SchoolOrInstitutionTypeDegree(); s.Comments = "Commentaar"; s.DatesOfAttendance = new List <DatesOfAttendanceType>(); DatesOfAttendanceType d = CreateDatesOfAttendanceType(); s.DatesOfAttendance.Add(d); s.DegreeClassification = new List <ClassificationType>(); ClassificationType c = CreateClassificationType(); s.DegreeClassification.Add(c); s.DegreeDate = CreateFlexibleDatesType(); s.DegreeMajor = new List <MajorType>(); MajorType ma = CreateMajorType(); s.DegreeMajor.Add(ma); s.DegreeMeasure = CreateEducationalMeasureType(); s.DegreeMinor = new List <MinorType>(); MinorType mi = CreateMinorType(); s.DegreeMinor.Add(mi); s.DegreeName = CreateEduDegreeTypeDegreeName(); s.degreeType = "DegreeType"; s.examPassed = false; s.examPassedSpecified = true; s.graduatingDegree = GraduatingDegreeType.graduating; s.graduatingDegreeSpecified = true; s.OtherHonors = new List <EduDegreeTypeOtherHonors>(); EduDegreeTypeOtherHonors eo = CreateEduDegreeTypeOtherHonors(); s.OtherHonors.Add(eo); return(s); }