/// <summary>
 /// Deprecated Method for adding a new object to the FlightLegs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFlightLegs(FlightLeg flightLeg)
 {
     base.AddObject("FlightLegs", flightLeg);
 }
 /// <summary>
 /// Create a new FlightLeg object.
 /// </summary>
 /// <param name="flightLegID">Initial value of the FlightLegID property.</param>
 public static FlightLeg CreateFlightLeg(global::System.Int32 flightLegID)
 {
     FlightLeg flightLeg = new FlightLeg();
     flightLeg.FlightLegID = flightLegID;
     return flightLeg;
 }