/// <summary>
 /// Deprecated Method for adding a new object to the ProjectSegments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSegments(ProjectSegment projectSegment)
 {
     base.AddObject("ProjectSegments", projectSegment);
 }
 /// <summary>
 /// Create a new ProjectSegment object.
 /// </summary>
 /// <param name="projectSegmentID">Initial value of the ProjectSegmentID property.</param>
 /// <param name="projectVersionID">Initial value of the ProjectVersionID property.</param>
 /// <param name="facilityName">Initial value of the FacilityName property.</param>
 public static ProjectSegment CreateProjectSegment(global::System.Int32 projectSegmentID, global::System.Int32 projectVersionID, global::System.String facilityName)
 {
     ProjectSegment projectSegment = new ProjectSegment();
     projectSegment.ProjectSegmentID = projectSegmentID;
     projectSegment.ProjectVersionID = projectVersionID;
     projectSegment.FacilityName = facilityName;
     return projectSegment;
 }