Esempio n. 1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="creationUser">Information about which staff member created this attendance record.</param>
 ///<param name="creationDateTime">The date and time of this attendance record was created.</param>
 ///
 public AuditInfo( CreationUser creationUser, DateTime? creationDateTime )
     : base(GradebookDTD.AUDITINFO)
 {
     this.CreationUser = creationUser;
     this.CreationDateTime = creationDateTime;
 }
 ///<summary>Sets the value of the <c>&lt;AuditInfo&gt;</c> element.</summary>
 /// <param name="CreationUser">Information about which staff member created this attendance record.</param>
 /// <param name="CreationDateTime">The date and time of this attendance record was created.</param>
 ///<remarks>
 /// <para>This form of <c>setAuditInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AuditInfo</c></para>
 /// <para>Version: 2.6</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetAuditInfo(CreationUser CreationUser, DateTime?CreationDateTime)
 {
     RemoveChild(GradebookDTD.STUDENTPERIODATTENDANCE_AUDITINFO);
     AddChild(GradebookDTD.STUDENTPERIODATTENDANCE_AUDITINFO, new AuditInfo(CreationUser, CreationDateTime));
 }
 ///<summary>Sets the value of the <c>&lt;AuditInfo&gt;</c> element.</summary>
 /// <param name="CreationUser">Information about which staff member created this attendance record.</param>
 /// <param name="CreationDateTime">The date and time of this attendance record was created.</param>
 ///<remarks>
 /// <para>This form of <c>setAuditInfo</c> is provided as a convenience method
 /// that is functionally equivalent to the <c>AuditInfo</c></para>
 /// <para>Version: 2.5</para>
 /// <para>Since: 2.4</para>
 /// </remarks>
 public void SetAuditInfo( CreationUser CreationUser, DateTime? CreationDateTime )
 {
     RemoveChild( GradebookDTD.STUDENTPERIODATTENDANCE_AUDITINFO);
     AddChild( GradebookDTD.STUDENTPERIODATTENDANCE_AUDITINFO, new AuditInfo( CreationUser, CreationDateTime ) );
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="creationUser">Information about which staff member created this attendance record.</param>
 ///<param name="creationDateTime">The date and time of this attendance record was created.</param>
 ///
 public AuditInfo(CreationUser creationUser, DateTime?creationDateTime) : base(GradebookDTD.AUDITINFO)
 {
     this.CreationUser     = creationUser;
     this.CreationDateTime = creationDateTime;
 }