///<summary>Sets the value of the <c>&lt;HomeEnrollment&gt;</c> element.</summary>
 /// <param name="Status">Enrollment status as of the SnapDate.</param>
 /// <param name="GradeLevel">Grade or academic level of student.</param>
 ///<remarks>
 /// <para>This form of <c>setHomeEnrollment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>HomeEnrollment</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetHomeEnrollment( HomeEnrollmentStatus Status, GradeLevel GradeLevel )
 {
     RemoveChild( StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT);
     AddChild( StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT, new HomeEnrollment( Status, GradeLevel ) );
 }
Exemple #2
0
 ///<summary>Sets the value of the <c>&lt;HomeEnrollment&gt;</c> element.</summary>
 /// <param name="Status">Enrollment status as of the SnapDate.</param>
 /// <param name="GradeLevel">Grade or academic level of student.</param>
 ///<remarks>
 /// <para>This form of <c>setHomeEnrollment</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>HomeEnrollment</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetHomeEnrollment(HomeEnrollmentStatus Status, GradeLevel GradeLevel)
 {
     RemoveChild(StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT);
     AddChild(StudentDTD.STUDENTSNAPSHOT_HOMEENROLLMENT, new HomeEnrollment(Status, GradeLevel));
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="status">Enrollment status as of the SnapDate.</param>
 ///<param name="gradeLevel">Grade or academic level of student.</param>
 ///
 public HomeEnrollment( HomeEnrollmentStatus status, GradeLevel gradeLevel )
     : base(StudentDTD.HOMEENROLLMENT)
 {
     this.SetStatus( status );
     this.GradeLevel = gradeLevel;
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A HomeEnrollmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."</para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetStatus( HomeEnrollmentStatus val )
 {
     SetField( StudentDTD.HOMEENROLLMENT_STATUS, val );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="status">Enrollment status as of the SnapDate.</param>
 ///<param name="gradeLevel">Grade or academic level of student.</param>
 ///
 public HomeEnrollment(HomeEnrollmentStatus status, GradeLevel gradeLevel) : base(StudentDTD.HOMEENROLLMENT)
 {
     this.SetStatus(status);
     this.GradeLevel = gradeLevel;
 }
 /// <summary>
 /// Sets the value of the <c>&lt;Status&gt;</c> element.
 /// </summary>
 /// <param name="val">A HomeEnrollmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this element as: "Enrollment status as of the SnapDate."</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 1.5r1</para>
 /// </remarks>
 public void SetStatus(HomeEnrollmentStatus val)
 {
     SetField(StudentDTD.HOMEENROLLMENT_STATUS, val);
 }