/// <summary> /// Constructor that accepts values for all mandatory fields /// </summary> ///<param name="sectionInfoRefId">The ID (GUID) that uniquely identifies the SectionInfo object that this item refers to.</param> ///<param name="schoolInfoRefId">The ID (GUID) that uniquely identifies the School that these Mark Values apply to.</param> ///<param name="termMarkLists">A TermMarkLists</param> /// public SectionMarkInfo(string sectionInfoRefId, string schoolInfoRefId, MarkInfoList termMarkLists) : base(Adk.SifVersion, GradebookDTD.SECTIONMARKINFO) { this.SectionInfoRefId = sectionInfoRefId; this.SchoolInfoRefId = schoolInfoRefId; this.TermMarkLists = new TermMarkLists(termMarkLists); }
///<summary>Sets the value of the <c><TermMarkLists></c> element.</summary> /// <param name="MarkInfoList">A MarkInfoList</param> ///<remarks> /// <para>This form of <c>setTermMarkLists</c> is provided as a convenience method /// that is functionally equivalent to the <c>TermMarkLists</c></para> /// <para>Version: 2.6</para> /// <para>Since: 2.0</para> /// </remarks> public void SetTermMarkLists(MarkInfoList MarkInfoList) { RemoveChild(GradebookDTD.SECTIONMARKINFO_TERMMARKLISTS); AddChild(GradebookDTD.SECTIONMARKINFO_TERMMARKLISTS, new TermMarkLists(MarkInfoList)); }