/// <summary> /// Create a new Task object. /// </summary> /// <param name="taskID">Initial value of the TaskID property.</param> public static Task CreateTask(global::System.Int32 taskID) { Task task = new Task(); task.TaskID = taskID; return task; }
/// <summary> /// Deprecated Method for adding a new object to the Tasks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTasks(Task task) { base.AddObject("Tasks", task); }