/// <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); }
/// <summary> /// Create a new task object. /// </summary> /// <param name="taskId">Initial value of the taskId property.</param> /// <param name="originalEstimatedHours">Initial value of the originalEstimatedHours property.</param> /// <param name="hoursSpentOnTask">Initial value of the hoursSpentOnTask property.</param> /// <param name="priority">Initial value of the priority property.</param> /// <param name="taskName">Initial value of the taskName property.</param> /// <param name="startDate">Initial value of the startDate property.</param> /// <param name="dueDate">Initial value of the dueDate property.</param> /// <param name="developer_developerId">Initial value of the developer_developerId property.</param> /// <param name="project_projectId">Initial value of the project_projectId property.</param> public static task Createtask(global::System.Int32 taskId, global::System.Int32 originalEstimatedHours, global::System.Int32 hoursSpentOnTask, global::System.Int32 priority, global::System.String taskName, global::System.DateTime startDate, global::System.DateTime dueDate, global::System.Int32 developer_developerId, global::System.Int32 project_projectId) { task task = new task(); task.taskId = taskId; task.originalEstimatedHours = originalEstimatedHours; task.hoursSpentOnTask = hoursSpentOnTask; task.priority = priority; task.taskName = taskName; task.startDate = startDate; task.dueDate = dueDate; task.developer_developerId = developer_developerId; task.project_projectId = project_projectId; return task; }
private void detach_tasks(task entity) { this.SendPropertyChanging(); entity.devloper = null; }
private void attach_tasks(task entity) { this.SendPropertyChanging(); entity.devloper = this; }
private void detach_tasks(task entity) { this.SendPropertyChanging(); entity.project1 = null; }
private void attach_tasks(task entity) { this.SendPropertyChanging(); entity.project1 = this; }
/// <summary> /// Create a new task object. /// </summary> /// <param name="taskId">Initial value of the taskId property.</param> /// <param name="assignedTo">Initial value of the assignedTo property.</param> /// <param name="originalEstimatedHours">Initial value of the originalEstimatedHours property.</param> /// <param name="hoursSpentOnTask">Initial value of the hoursSpentOnTask property.</param> /// <param name="project_id">Initial value of the project_id property.</param> /// <param name="priority">Initial value of the priority property.</param> /// <param name="taskName">Initial value of the taskName property.</param> /// <param name="startDate">Initial value of the startDate property.</param> /// <param name="dueDate">Initial value of the dueDate property.</param> public static task Createtask(global::System.Int32 taskId, global::System.Int32 assignedTo, global::System.Int32 originalEstimatedHours, global::System.Int32 hoursSpentOnTask, global::System.Int32 project_id, global::System.Int32 priority, global::System.String taskName, global::System.DateTime startDate, global::System.DateTime dueDate) { task task = new task(); task.taskId = taskId; task.assignedTo = assignedTo; task.originalEstimatedHours = originalEstimatedHours; task.hoursSpentOnTask = hoursSpentOnTask; task.project_id = project_id; task.priority = priority; task.taskName = taskName; task.startDate = startDate; task.dueDate = dueDate; return task; }