Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TravelPlaces EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTravelPlaces(TravelPlaces travelPlaces)
 {
     base.AddObject("TravelPlaces", travelPlaces);
 }
Exemple #2
0
 /// <summary>
 /// Create a new TravelPlaces object.
 /// </summary>
 /// <param name="travelPlaceID">Initial value of the TravelPlaceID property.</param>
 public static TravelPlaces CreateTravelPlaces(global::System.Int32 travelPlaceID)
 {
     TravelPlaces travelPlaces = new TravelPlaces();
     travelPlaces.TravelPlaceID = travelPlaceID;
     return travelPlaces;
 }