/// <summary> /// Create a new TaskLabel object. /// </summary> /// <param name="taskId">Initial value of the TaskId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static TaskLabel CreateTaskLabel(global::System.Int32 taskId, global::System.String name, global::System.Int32 createdBy, global::System.DateTime createdDate) { TaskLabel taskLabel = new TaskLabel(); taskLabel.TaskId = taskId; taskLabel.Name = name; taskLabel.CreatedBy = createdBy; taskLabel.CreatedDate = createdDate; return taskLabel; }
/// <summary> /// Deprecated Method for adding a new object to the TaskLabels EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaskLabels(TaskLabel taskLabel) { base.AddObject("TaskLabels", taskLabel); }