/// <summary> /// Create a new Project object. /// </summary> /// <param name="projectId">Initial value of the ProjectId property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="softwareUsed">Initial value of the SoftwareUsed property.</param> /// <param name="categoryId">Initial value of the CategoryId property.</param> public static Project CreateProject(global::System.Int32 projectId, global::System.String title, global::System.String description, global::System.DateTime date, global::System.String softwareUsed, global::System.Int32 categoryId) { Project project = new Project(); project.ProjectId = projectId; project.Title = title; project.Description = description; project.Date = date; project.SoftwareUsed = softwareUsed; project.CategoryId = categoryId; 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); }