/// <summary> /// Deprecated Method for adding a new object to the Projects EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProjects(Project project) { base.AddObject("Projects", project); }
/// <summary> /// Create a new Project object. /// </summary> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="cOGID">Initial value of the COGID property.</param> public static Project CreateProject(global::System.Int32 projectID, global::System.String cOGID) { Project project = new Project(); project.ProjectID = projectID; project.COGID = cOGID; return project; }