コード例 #1
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The unique identifier (GUID) of this discipline incident.</param>
 ///<param name="schoolYear">School year in which the incident occurred, and for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year).</param>
 ///<param name="agencyReporting">An AgencyReporting</param>
 ///<param name="incidentNumber">The locally-defined unique identifier (within the school or school district) to identify this specific incident or occurrence.</param>
 ///<param name="incidentDate">The date when the incident occurred.</param>
 ///<param name="incidentTime">The time when the incident occurred.</param>
 ///<param name="incidentLocation">The locally-defined identifier or description of the location where the incident occurred.</param>
 ///<param name="incidentCategory">An IncidentCategory</param>
 ///<param name="offenderList">An OffenderList</param>
 ///<param name="victimList">A VictimList</param>
 ///
 public DisciplineIncident( string refId, int? schoolYear, AgencyReporting agencyReporting, string incidentNumber, DateTime? incidentDate, IncidentTime incidentTime, IncidentLocation incidentLocation, IncidentCategory incidentCategory, OffenderList offenderList, VictimList victimList )
     : base(Adk.SifVersion, StudentDTD.DISCIPLINEINCIDENT)
 {
     this.RefId = refId;
     this.SchoolYear = schoolYear;
     this.AgencyReporting = agencyReporting;
     this.IncidentNumber = incidentNumber;
     this.IncidentDate = incidentDate;
     this.IncidentTime = incidentTime;
     this.IncidentLocation = incidentLocation;
     this.IncidentCategory = incidentCategory;
     this.OffenderList = offenderList;
     this.VictimList = victimList;
 }
コード例 #2
0
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">The unique identifier (GUID) of this discipline incident.</param>
 ///<param name="schoolYear">School year in which the incident occurred, and for which the information is applicable, expressed as the four-digit year in which the school year ends (e.g., "2007" for the 2006-07 school year).</param>
 ///<param name="agencyReporting">An AgencyReporting</param>
 ///<param name="incidentNumber">The locally-defined unique identifier (within the school or school district) to identify this specific incident or occurrence.</param>
 ///<param name="incidentDate">The date when the incident occurred.</param>
 ///<param name="incidentTime">The time when the incident occurred.</param>
 ///<param name="incidentLocation">The locally-defined identifier or description of the location where the incident occurred.</param>
 ///<param name="incidentCategory">An IncidentCategory</param>
 ///<param name="offenderList">An OffenderList</param>
 ///<param name="victimList">A VictimList</param>
 ///
 public DisciplineIncident(string refId, int?schoolYear, AgencyReporting agencyReporting, string incidentNumber, DateTime?incidentDate, IncidentTime incidentTime, IncidentLocation incidentLocation, IncidentCategory incidentCategory, OffenderList offenderList, VictimList victimList) : base(Adk.SifVersion, StudentDTD.DISCIPLINEINCIDENT)
 {
     this.RefId            = refId;
     this.SchoolYear       = schoolYear;
     this.AgencyReporting  = agencyReporting;
     this.IncidentNumber   = incidentNumber;
     this.IncidentDate     = incidentDate;
     this.IncidentTime     = incidentTime;
     this.IncidentLocation = incidentLocation;
     this.IncidentCategory = incidentCategory;
     this.OffenderList     = offenderList;
     this.VictimList       = victimList;
 }