/// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) assigned to uniquely identify this attendance record.</param>
 ///<param name="studentPersonalRefId">The GUID of the student that this attendance applies to.</param>
 ///<param name="schoolInfoRefId">The school where the attendance was recorded.  Somewhat redundant, needed for requests.</param>
 ///<param name="date">The date of the attendance event.</param>
 ///<param name="attendanceCode">An AttendanceCode</param>
 ///<param name="attendanceStatus">Approved or Unapproved status of this attendance code.</param>
 ///
 public StudentPeriodAttendance( string refId, string studentPersonalRefId, string schoolInfoRefId, DateTime? date, AttendanceCode attendanceCode, StudentPeriodAttendanceAttendanceStatusType attendanceStatus )
     : base(Adk.SifVersion, GradebookDTD.STUDENTPERIODATTENDANCE)
 {
     this.RefId = refId;
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.Date = date;
     this.AttendanceCode = attendanceCode;
     this.SetAttendanceStatus( attendanceStatus );
 }
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) assigned to uniquely identify this attendance record.</param>
 ///<param name="studentPersonalRefId">The ID (GUID) of the student for whom this attendance information is being reported.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school for which this attendance information is being reported.</param>
 ///<param name="date">The calendar date to which this attendance information relates.</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="attendanceCode">An AttendanceCode</param>
 ///<param name="attendanceStatus">Approved or Unapproved status of this attendance code.</param>
 ///
 public StudentDailyAttendance( string refId, string studentPersonalRefId, string schoolInfoRefId, DateTime? date, int? schoolYear, AttendanceCode attendanceCode, AttendanceStatusType attendanceStatus )
     : base(Adk.SifVersion, StudentDTD.STUDENTDAILYATTENDANCE)
 {
     this.RefId = refId;
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.Date = date;
     this.SchoolYear = schoolYear;
     this.AttendanceCode = attendanceCode;
     this.SetAttendanceStatus( attendanceStatus );
 }