/// <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="pictureSource">This element defines the picture. If the Type attribute is URL, this is the location of the picture in [JPEG] format; if Type is JPEG, this is the [JPEG] image data encoded using the Base64 Content-Transfer-Encoding defined in Section 6.8 of [RFC 2045].</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> /// public StudentPicture( string studentPersonalRefId, PictureSource pictureSource, int? schoolYear ) : base(Adk.SifVersion, StudentDTD.STUDENTPICTURE) { this.StudentPersonalRefId = studentPersonalRefId; this.PictureSource = pictureSource; this.SchoolYear = schoolYear; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="employeePersonalRefId">This is the GUID of the Employee whose picture this is.</param> ///<param name="pictureSource">This element defines the picture. If the Type attribute is URL, this is the location of the picture in [JPEG] format; if Type is JPEG, this is the [JPEG] image data encoded using the Base64 Content-Transfer-Encoding defined in Section 6.8 of [RFC 2045].</param> /// public EmployeePicture( string employeePersonalRefId, PictureSource pictureSource ) : base(Adk.SifVersion, HrfinDTD.EMPLOYEEPICTURE) { this.EmployeePersonalRefId = employeePersonalRefId; this.PictureSource = pictureSource; }