Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Semesters EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSemesters(Semester semester)
 {
     base.AddObject("Semesters", semester);
 }
Example #2
0
 /// <summary>
 /// Create a new Semester object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Semester CreateSemester(global::System.Int32 id, global::System.String name, global::System.DateTime startDate, global::System.DateTime endDate, global::System.String status)
 {
     Semester semester = new Semester();
     semester.Id = id;
     semester.Name = name;
     semester.StartDate = startDate;
     semester.EndDate = endDate;
     semester.Status = status;
     return semester;
 }