Beispiel #1
0
        void InsertInfo()
        {
            Guardian guardian = new Guardian {
                guardianFirstName    = GuardianFirstName.Text,
                guardianLastName     = GuardianLastName.Text,
                relationship         = GuardianRelationship.Text,
                guardianPhoneNumber  = GuardianPhoneNumber.Text,
                guardianPhoneType    = PhoneTypePicker.SelectedItem.ToString(),
                guardianEmailAddress = GuardianEmail.Text
            };

            Application.Guardian = guardian;
        }
 public ApplicationForAPI(Student student, SchoolInfo info, Guardian guardian, EligibilityQuestions eq)
 {
     enrollType           = student.enrollType;
     studentID            = student.studentID;
     lastName             = student.lastName;
     firstName            = student.firstName;
     middleName           = student.middleName;
     dateOfBirth          = student.dateOfBirth;
     streetAddress        = student.streetAddress;
     unitNumber           = student.unitNumber;
     city                 = student.city;
     state                = student.state;
     zipCode              = student.zipCode;
     phoneNumber          = student.phoneNumber;
     phoneType            = student.phoneType;
     studentEmail         = student.studentEmail;
     schoolName           = info.schoolName;
     grade                = info.grade;
     district             = info.district;
     county               = info.county;
     districtState        = info.districtState;
     guardianLastName     = guardian.guardianLastName;
     guardianFirstName    = guardianFirstName;
     guardianPhoneNumber  = guardian.guardianPhoneNumber;
     guardianPhoneType    = guardian.guardianPhoneType;
     guardianEmailAddress = guardian.guardianEmailAddress;
     relationship         = guardian.relationship;
     eqResponse1          = eq.eqResponse1;
     eqResponse2          = eq.eqResponse2;
     eqResponse3          = eq.eqResponse3;
     eqResponse4          = eq.eqResponse4;
     eqResponse5          = eq.eqResponse5;
     eqResponse6          = eq.eqResponse6;
     eqResponse7          = eq.eqResponse7;
     eqResponse8          = eq.eqResponse8;
 }