/// <summary>
 /// Deprecated Method for adding a new object to the Passengers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPassengers(Passenger passenger)
 {
     base.AddObject("Passengers", passenger);
 }
 /// <summary>
 /// Create a new Passenger object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="email">Initial value of the email property.</param>
 /// <param name="phone">Initial value of the phone property.</param>
 /// <param name="address">Initial value of the address property.</param>
 /// <param name="dateofBirth">Initial value of the DateofBirth property.</param>
 public static Passenger CreatePassenger(global::System.Int32 id, global::System.String firstName, global::System.String lastName, global::System.String email, global::System.Int32 phone, global::System.String address, global::System.DateTime dateofBirth)
 {
     Passenger passenger = new Passenger();
     passenger.Id = id;
     passenger.FirstName = firstName;
     passenger.LastName = lastName;
     passenger.email = email;
     passenger.phone = phone;
     passenger.address = address;
     passenger.DateofBirth = dateofBirth;
     return passenger;
 }