/// <summary>
 /// Deprecated Method for adding a new object to the Itineraries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToItineraries(Itinerary itinerary)
 {
     base.AddObject("Itineraries", itinerary);
 }
 /// <summary>
 /// Create a new Itinerary object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="personId">Initial value of the PersonId property.</param>
 public static Itinerary CreateItinerary(global::System.Guid id, global::System.String name, global::System.Guid personId)
 {
     Itinerary itinerary = new Itinerary();
     itinerary.Id = id;
     itinerary.Name = name;
     itinerary.PersonId = personId;
     return itinerary;
 }