/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="personRefId">It is important to note that using the same GUID a person may have a LearnerPersonal record, a WorkforcePersonal record, and a ContactPersonal record all at the same time. This same picture is applicable regardless of the associated object type(s).</param> ///<param name="sifRefObjectList">A list of one or more "personal" object type codes representing objects that can be requested for this person using the specified PersonRefId.</param> ///<param name="schoolYear">School year for which this enrolment 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">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]. CBDS: 100019</param> /// public PersonPicture( string personRefId, SIF_RefObject sifRefObjectList, int? schoolYear, PictureSource pictureSource ) : base(Adk.SifVersion, SchoolDTD.PERSONPICTURE) { this.PersonRefId = personRefId; this.SIF_RefObjectList = new SIF_RefObjectList( sifRefObjectList ); this.SchoolYear = schoolYear; this.PictureSource = pictureSource; }
/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="personRefId">It is important to note that using the same GUID a person may have a LearnerPersonal record, a WorkforcePersonal record, and a ContactPersonal record all at the same time. This same picture is applicable regardless of the associated object type(s).</param> ///<param name="sifRefObjectList">A list of one or more "personal" object type codes representing objects that can be requested for this person using the specified PersonRefId.</param> ///<param name="schoolYear">School year for which this enrolment 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">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]. CBDS: 100019</param> /// public PersonPicture(string personRefId, SIF_RefObject sifRefObjectList, int?schoolYear, PictureSource pictureSource) : base(Adk.SifVersion, SchoolDTD.PERSONPICTURE) { this.PersonRefId = personRefId; this.SIF_RefObjectList = new SIF_RefObjectList(sifRefObjectList); this.SchoolYear = schoolYear; this.PictureSource = pictureSource; }