예제 #1
0
 /// <summary>
 /// Create a new Section1 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 Section1 CreateSection1(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)
 {
     Section1 section1 = new Section1();
     section1.Id = id;
     section1.SectionID = sectionID;
     section1.MaxEnrollment = maxEnrollment;
     section1.Year = year;
     section1.Season = season;
     section1.MeetingDays = meetingDays;
     section1.MeetingTime = meetingTime;
     section1.StartDate = startDate;
     section1.EndDate = endDate;
     section1.RowVersion = rowVersion;
     section1.Section_Course = section_Course;
     section1.Section_Instructor = section_Instructor;
     return section1;
 }
예제 #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(Section1 section1)
 {
     base.AddObject("Sections", section1);
 }