/// <summary>
 /// Deprecated Method for adding a new object to the Task EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTask(Task task)
 {
     base.AddObject("Task", task);
 }
 /// <summary>
 /// Create a new Task object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 public static Task CreateTask(global::System.Int32 id, global::System.String name, global::System.DateTime startTime, global::System.Int16 status)
 {
     Task task = new Task();
     task.Id = id;
     task.Name = name;
     task.StartTime = startTime;
     task.Status = status;
     return task;
 }