/// <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="posterID">Initial value of the PosterID property.</param> /// <param name="posterRole">Initial value of the PosterRole property.</param> /// <param name="posterUserName">Initial value of the PosterUserName property.</param> /// <param name="status">Initial value of the Status property.</param> /// <param name="numberofBids">Initial value of the NumberofBids property.</param> /// <param name="posted">Initial value of the Posted property.</param> /// <param name="statusInt">Initial value of the StatusInt property.</param> public static Project CreateProject(global::System.Int64 projectID, global::System.Int32 posterID, global::System.String posterRole, global::System.String posterUserName, global::System.String status, global::System.Int32 numberofBids, global::System.Int32 posted, global::System.Int32 statusInt) { Project project = new Project(); project.ProjectID = projectID; project.PosterID = posterID; project.PosterRole = posterRole; project.PosterUserName = posterUserName; project.Status = status; project.NumberofBids = numberofBids; project.Posted = posted; project.StatusInt = statusInt; return project; }