/// <summary> /// Create a new TaskCategory object. /// </summary> /// <param name="taskCategoryID">Initial value of the TaskCategoryID property.</param> /// <param name="categoryGroupID">Initial value of the CategoryGroupID property.</param> /// <param name="categoryName">Initial value of the CategoryName property.</param> public static TaskCategory CreateTaskCategory(global::System.Int32 taskCategoryID, global::System.Int32 categoryGroupID, global::System.String categoryName) { TaskCategory taskCategory = new TaskCategory(); taskCategory.TaskCategoryID = taskCategoryID; taskCategory.CategoryGroupID = categoryGroupID; taskCategory.CategoryName = categoryName; return taskCategory; }
/// <summary> /// Deprecated Method for adding a new object to the TaskCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaskCategories(TaskCategory taskCategory) { base.AddObject("TaskCategories", taskCategory); }