/// <summary> /// Deprecated Method for adding a new object to the ProjectType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjectType(ProjectType projectType) { base.AddObject("ProjectType", projectType); }
/// <summary> /// Create a new ProjectType object. /// </summary> /// <param name="projectTypeID">Initial value of the ProjectTypeID property.</param> /// <param name="projectType1">Initial value of the ProjectType1 property.</param> public static ProjectType CreateProjectType(global::System.Int32 projectTypeID, global::System.String projectType1) { ProjectType projectType = new ProjectType(); projectType.ProjectTypeID = projectTypeID; projectType.ProjectType1 = projectType1; return projectType; }