コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="studentPersonalRefId">This is the GUID of the student whose picture this is.</param>
 ///<param name="schoolYear">School year for which this enrollment is applicable, expressed as the four-digit year in which the school year        ends (e.g. 2007 for the 2006-07 school year).</param>
 ///<param name="pictureSource">A PictureSource</param>
 ///
 public StudentPicture( string studentPersonalRefId, int? schoolYear, PictureSource pictureSource )
     : base(Adk.SifVersion, StudentDTD.STUDENTPICTURE)
 {
     this.StudentPersonalRefId = studentPersonalRefId;
     this.SchoolYear = schoolYear;
     this.PictureSource = pictureSource;
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies the picture.</param>
 ///<param name="parentObjectRefId">A ParentObjectRefId</param>
 ///<param name="schoolYear">A SchoolYear</param>
 ///<param name="pictureSource">A PictureSource</param>
 ///
 public PersonPicture( string refId, ParentObjectRefId parentObjectRefId, int? schoolYear, PictureSource pictureSource )
     : base(Adk.SifVersion, SchoolDTD.PERSONPICTURE)
 {
     this.RefId = refId;
     this.ParentObjectRefId = parentObjectRefId;
     this.SchoolYear = schoolYear;
     this.PictureSource = pictureSource;
 }