/// <summary>
 /// Create a new ProjectTask object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="dueDate">Initial value of the DueDate property.</param>
 /// <param name="priority">Initial value of the Priority property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="percentCompleted">Initial value of the PercentCompleted property.</param>
 /// <param name="projectTask_Project">Initial value of the ProjectTask_Project property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static ProjectTask CreateProjectTask(global::System.Int32 id, global::System.String title, global::System.DateTime dueDate, global::System.String priority, global::System.String status, global::System.Decimal percentCompleted, global::System.Int32 projectTask_Project, global::System.Byte[] rowVersion)
 {
     ProjectTask projectTask = new ProjectTask();
     projectTask.Id = id;
     projectTask.Title = title;
     projectTask.DueDate = dueDate;
     projectTask.Priority = priority;
     projectTask.Status = status;
     projectTask.PercentCompleted = percentCompleted;
     projectTask.ProjectTask_Project = projectTask_Project;
     projectTask.RowVersion = rowVersion;
     return projectTask;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectTasks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectTasks(ProjectTask projectTask)
 {
     base.AddObject("ProjectTasks", projectTask);
 }