Ejemplo n.º 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) of the learner.</param>
 ///<param name="personalInformation">Personal name, demographic, address, email, and phone information for this learner. CBDS: Mulitple</param>
 ///<param name="inCare">Information relating to whether the learner is "looked after" as defined by the Children Act 1989, which refers to children who are subject to care orders and those who are accommodated.</param>
 ///
 public LearnerPersonal( string refId, PersonalInformation personalInformation, InCare inCare )
     : base(Adk.SifVersion, LearnerDTD.LEARNERPERSONAL)
 {
     this.RefId = refId;
     this.PersonalInformation = personalInformation;
     this.InCare = inCare;
 }
    protected override SifDataObject createPersonObject(string id)
    {
        LearnerPersonal lp = new LearnerPersonal();
        InCare inCare = new InCare(YesNoUnknown.YES, "323");
        lp.InCare = inCare;
        lp.UPN = id;

        lp.AlertMsgList =
            new AlertMsgList(new AlertMsg(AlertMsgType.DISCIPLINE, "Student Discipline note"));
        //lp.AlertMsgList.GetEnumerator
        return lp;
    }
Ejemplo n.º 3
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) of the learner.</param>
 ///<param name="personalInformation">Personal name, demographic, address, email, and phone information for this learner. CBDS: Mulitple</param>
 ///<param name="inCare">Information relating to whether the learner is "looked after" as defined by the Children Act 1989, which refers to children who are subject to care orders and those who are accommodated.</param>
 ///
 public LearnerPersonal(string refId, PersonalInformation personalInformation, InCare inCare) : base(Adk.SifVersion, LearnerDTD.LEARNERPERSONAL)
 {
     this.RefId = refId;
     this.PersonalInformation = personalInformation;
     this.InCare = inCare;
 }