/// <summary> /// Create a new ProjectCategory object. /// </summary> /// <param name="projectCategoryID">Initial value of the ProjectCategoryID property.</param> /// <param name="name">Initial value of the Name property.</param> public static ProjectCategory CreateProjectCategory(global::System.Int32 projectCategoryID, global::System.String name) { ProjectCategory projectCategory = new ProjectCategory(); projectCategory.ProjectCategoryID = projectCategoryID; projectCategory.Name = name; return projectCategory; }
/// <summary> /// Deprecated Method for adding a new object to the ProjectCategories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjectCategories(ProjectCategory projectCategory) { base.AddObject("ProjectCategories", projectCategory); }