/// <summary>
 /// Create a new Flight object.
 /// </summary>
 /// <param name="flightID">Initial value of the FlightID property.</param>
 /// <param name="capacity">Initial value of the Capacity property.</param>
 public static Flight CreateFlight(global::System.String flightID, global::System.Int32 capacity)
 {
     Flight flight = new Flight();
     flight.FlightID = flightID;
     flight.Capacity = capacity;
     return flight;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Flights EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFlights(Flight flight)
 {
     base.AddObject("Flights", flight);
 }