コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies a particular enrolment.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner to whom this information is linked.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school to which this enrolment applies.</param>
 ///<param name="membershipType">The type of this enrolment as it relates to the school identified by SchoolInfoRefId. CBDS: 100060</param>
 ///<param name="entryDate">The date from when this enrolment is valid. CBDS: 100063</param>
 ///<param name="ncYearGroupActual">The year group in which the learner is taught for the majority of their time, regardless of their chronological age. CBDS: 100068</param>
 ///
 public LearnerSchoolEnrolment( string refId, string learnerPersonalRefId, string schoolInfoRefId, LearnerEnrolmentStatus membershipType, DateTime? entryDate, NCYearGroup ncYearGroupActual )
     : base(Adk.SifVersion, LearnerDTD.LEARNERSCHOOLENROLMENT)
 {
     this.RefId = refId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId = schoolInfoRefId;
     this.SetMembershipType( membershipType );
     this.EntryDate = entryDate;
     this.NCYearGroupActual = ncYearGroupActual;
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The ID (GUID) that uniquely identifies a particular enrolment.</param>
 ///<param name="learnerPersonalRefId">The ID (GUID) of the learner to whom this information is linked.</param>
 ///<param name="schoolInfoRefId">The ID (GUID) of the school to which this enrolment applies.</param>
 ///<param name="membershipType">The type of this enrolment as it relates to the school identified by SchoolInfoRefId. CBDS: 100060</param>
 ///<param name="entryDate">The date from when this enrolment is valid. CBDS: 100063</param>
 ///<param name="ncYearGroupActual">The year group in which the learner is taught for the majority of their time, regardless of their chronological age. CBDS: 100068</param>
 ///
 public LearnerSchoolEnrolment(string refId, string learnerPersonalRefId, string schoolInfoRefId, LearnerEnrolmentStatus membershipType, DateTime?entryDate, NCYearGroup ncYearGroupActual) : base(Adk.SifVersion, LearnerDTD.LEARNERSCHOOLENROLMENT)
 {
     this.RefId = refId;
     this.LearnerPersonalRefId = learnerPersonalRefId;
     this.SchoolInfoRefId      = schoolInfoRefId;
     this.SetMembershipType(membershipType);
     this.EntryDate         = entryDate;
     this.NCYearGroupActual = ncYearGroupActual;
 }
コード例 #3
0
 /// <summary>
 /// Sets the value of the <c>MembershipType</c> attribute.
 /// </summary>
 /// <param name="val">A LearnerEnrolmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of this enrolment as it relates to the school identified by SchoolInfoRefId. CBDS: 100060"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetMembershipType(LearnerEnrolmentStatus val)
 {
     SetField(LearnerDTD.LEARNERSCHOOLENROLMENT_MEMBERSHIPTYPE, val);
 }
コード例 #4
0
 /// <summary>
 /// Sets the value of the <c>MembershipType</c> attribute.
 /// </summary>
 /// <param name="val">A LearnerEnrolmentStatus object</param>
 /// <remarks>
 /// <para>The SIF specification defines the meaning of this attribute as: "The type of this enrolment as it relates to the school identified by SchoolInfoRefId. CBDS: 100060"</para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.0</para>
 /// </remarks>
 public void SetMembershipType( LearnerEnrolmentStatus val )
 {
     SetField( LearnerDTD.LEARNERSCHOOLENROLMENT_MEMBERSHIPTYPE, val );
 }