/// <summary> /// Deprecated Method for adding a new object to the Tours EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTours(Tour tour) { base.AddObject("Tours", tour); }
/// <summary> /// Create a new Tour object. /// </summary> /// <param name="tourID">Initial value of the tourID property.</param> public static Tour CreateTour(global::System.Int32 tourID) { Tour tour = new Tour(); tour.tourID = tourID; return tour; }