Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tours EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTours(Tour tour)
 {
     base.AddObject("Tours", tour);
 }
Esempio n. 2
0
 /// <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;
 }