/// <summary> /// Deprecated Method for adding a new object to the Trip EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrip(Trip trip) { base.AddObject("Trip", trip); }
/// <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; }