Ejemplo n.º 1
0
 ///<summary>Sets the value of the <c>&lt;TeacherList&gt;</c> element.</summary>
 /// <param name="TtTeacherRefId">A TTTeacherRefId</param>
 ///<remarks>
 /// <para>This form of <c>setTeacherList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TeacherList</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetTeacherList( TTTeacherRefId TtTeacherRefId )
 {
     RemoveChild( SchoolDTD.LESSON_TEACHERLIST);
     AddChild( SchoolDTD.LESSON_TEACHERLIST, new TeacherIDList( TtTeacherRefId ) );
 }
Ejemplo n.º 2
0
 ///<summary>Sets the value of the <c>&lt;TeacherList&gt;</c> element.</summary>
 /// <param name="TtTeacherRefId">A TTTeacherRefId</param>
 ///<remarks>
 /// <para>This form of <c>setTeacherList</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>TeacherList</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.3</para>
 /// </remarks>
 public void SetTeacherList(TTTeacherRefId TtTeacherRefId)
 {
     RemoveChild(SchoolDTD.LESSON_TEACHERLIST);
     AddChild(SchoolDTD.LESSON_TEACHERLIST, new TeacherIDList(TtTeacherRefId));
 }