Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Trip EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrip(Trip trip)
 {
     base.AddObject("Trip", trip);
 }
Example #2
0
 /// <summary>
 /// Create a new Trip object.
 /// </summary>
 /// <param name="iDTrip">Initial value of the IDTrip property.</param>
 public static Trip CreateTrip(global::System.Int32 iDTrip)
 {
     Trip trip = new Trip();
     trip.IDTrip = iDTrip;
     return trip;
 }