Пример #1
0
 /// <summary>
 /// Create a new Section object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sectionID">Initial value of the SectionID property.</param>
 /// <param name="maxEnrollment">Initial value of the MaxEnrollment property.</param>
 /// <param name="academicYear">Initial value of the AcademicYear property.</param>
 /// <param name="academicQuarter">Initial value of the AcademicQuarter property.</param>
 /// <param name="meetingDays">Initial value of the MeetingDays property.</param>
 /// <param name="meetingTime">Initial value of the MeetingTime property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="section_Course">Initial value of the Section_Course property.</param>
 /// <param name="section_Instructor">Initial value of the Section_Instructor property.</param>
 public static Section CreateSection(global::System.Int32 id, global::System.String sectionID, global::System.Int32 maxEnrollment, global::System.Int32 academicYear, global::System.String academicQuarter, global::System.String meetingDays, global::System.DateTime meetingTime, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Int32 section_Course, global::System.Int32 section_Instructor)
 {
     Section section = new Section();
     section.Id = id;
     section.SectionID = sectionID;
     section.MaxEnrollment = maxEnrollment;
     section.AcademicYear = academicYear;
     section.AcademicQuarter = academicQuarter;
     section.MeetingDays = meetingDays;
     section.MeetingTime = meetingTime;
     section.StartDate = startDate;
     section.EndDate = endDate;
     section.Section_Course = section_Course;
     section.Section_Instructor = section_Instructor;
     return section;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sections EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSections(Section section)
 {
     base.AddObject("Sections", section);
 }
Пример #3
0
 /// <summary>
 /// Create a new Section object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sectionID">Initial value of the SectionID property.</param>
 /// <param name="maxEnrollment">Initial value of the MaxEnrollment property.</param>
 /// <param name="year">Initial value of the Year property.</param>
 /// <param name="season">Initial value of the Season property.</param>
 /// <param name="meetingDays">Initial value of the MeetingDays property.</param>
 /// <param name="meetingTime">Initial value of the MeetingTime property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="section_Course">Initial value of the Section_Course property.</param>
 /// <param name="section_Instructor">Initial value of the Section_Instructor property.</param>
 public static Section CreateSection(global::System.Int32 id, global::System.String sectionID, global::System.Int32 maxEnrollment, global::System.Int32 year, global::System.String season, global::System.String meetingDays, global::System.DateTime meetingTime, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Byte[] rowVersion, global::System.Int32 section_Course, global::System.Int32 section_Instructor)
 {
     Section section = new Section();
     section.Id = id;
     section.SectionID = sectionID;
     section.MaxEnrollment = maxEnrollment;
     section.Year = year;
     section.Season = season;
     section.MeetingDays = meetingDays;
     section.MeetingTime = meetingTime;
     section.StartDate = startDate;
     section.EndDate = endDate;
     section.RowVersion = rowVersion;
     section.Section_Course = section_Course;
     section.Section_Instructor = section_Instructor;
     return section;
 }