private void attach_Tasks(Task entity) { this.SendPropertyChanging(); entity.Priority = this; }
private void detach_Tasks(Task entity) { this.SendPropertyChanging(); entity.Priority = null; }
partial void UpdateTask(Task instance);
partial void DeleteTask(Task instance);
partial void InsertTask(Task instance);
private void detach_Tasks(Task entity) { this.SendPropertyChanging(); entity.Assignee = null; }
private void attach_Tasks(Task entity) { this.SendPropertyChanging(); entity.Assignee = this; }
/// <summary> /// Deprecated Method for adding a new object to the Task EntitySet. Consider using the .Add method of the associated ObjectSet<T> 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; }