/// <summary>
 /// Deprecated Method for adding a new object to the GanttTasks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGanttTasks(GanttTask ganttTask)
 {
     base.AddObject("GanttTasks", ganttTask);
 }
 /// <summary>
 /// Create a new GanttTask object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="orderID">Initial value of the OrderID property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="start">Initial value of the Start property.</param>
 /// <param name="end">Initial value of the End property.</param>
 /// <param name="percentComplete">Initial value of the PercentComplete property.</param>
 /// <param name="expanded">Initial value of the Expanded property.</param>
 /// <param name="summary">Initial value of the Summary property.</param>
 public static GanttTask CreateGanttTask(global::System.Int32 id, global::System.Int32 orderID, global::System.String title, global::System.DateTime start, global::System.DateTime end, global::System.Decimal percentComplete, global::System.Boolean expanded, global::System.Boolean summary)
 {
     GanttTask ganttTask = new GanttTask();
     ganttTask.ID = id;
     ganttTask.OrderID = orderID;
     ganttTask.Title = title;
     ganttTask.Start = start;
     ganttTask.End = end;
     ganttTask.PercentComplete = percentComplete;
     ganttTask.Expanded = expanded;
     ganttTask.Summary = summary;
     return ganttTask;
 }