/// <summary> /// Create a new TaskCategoryGroup object. /// </summary> /// <param name="taskCategoryGroupID">Initial value of the TaskCategoryGroupID property.</param> /// <param name="groupName">Initial value of the GroupName property.</param> public static TaskCategoryGroup CreateTaskCategoryGroup(global::System.Int32 taskCategoryGroupID, global::System.String groupName) { TaskCategoryGroup taskCategoryGroup = new TaskCategoryGroup(); taskCategoryGroup.TaskCategoryGroupID = taskCategoryGroupID; taskCategoryGroup.GroupName = groupName; return taskCategoryGroup; }
/// <summary> /// Deprecated Method for adding a new object to the TaskCategoryGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaskCategoryGroups(TaskCategoryGroup taskCategoryGroup) { base.AddObject("TaskCategoryGroups", taskCategoryGroup); }