Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProjectSegment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProjectSegment(ProjectSegment projectSegment)
 {
     base.AddObject("ProjectSegment", projectSegment);
 }
Ejemplo n.º 2
0
 /// <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;
 }