/// <summary> /// Create a new Project object. /// </summary> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="author">Initial value of the Author property.</param> /// <param name="postedDate">Initial value of the PostedDate property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="description">Initial value of the Description property.</param> public static Project CreateProject(global::System.Int32 projectID, global::System.String author, global::System.DateTime postedDate, global::System.String name, global::System.String description) { Project project = new Project(); project.ProjectID = projectID; project.Author = author; project.PostedDate = postedDate; project.Name = name; project.Description = description; return project; }
/// <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); }