/// <summary> /// Deprecated Method for adding a new object to the FlightLines EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFlightLines(FlightLine flightLine) { base.AddObject("FlightLines", flightLine); }
/// <summary> /// Create a new FlightLine object. /// </summary> /// <param name="flightLineID">Initial value of the FlightLineID property.</param> public static FlightLine CreateFlightLine(global::System.Int32 flightLineID) { FlightLine flightLine = new FlightLine(); flightLine.FlightLineID = flightLineID; return flightLine; }