Exemple #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TripDestinations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTripDestinations(TripDestination tripDestination)
 {
     base.AddObject("TripDestinations", tripDestination);
 }
Exemple #2
0
 /// <summary>
 /// Create a new TripDestination object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="tripId">Initial value of the TripId property.</param>
 /// <param name="destinationName">Initial value of the DestinationName property.</param>
 /// <param name="destinationAddress">Initial value of the DestinationAddress property.</param>
 /// <param name="arrivalTime">Initial value of the ArrivalTime property.</param>
 /// <param name="dispatchTime">Initial value of the DispatchTime property.</param>
 /// <param name="address">Initial value of the Address property.</param>
 public static TripDestination CreateTripDestination(global::System.Int32 id, global::System.Int32 tripId, global::System.String destinationName, global::System.String destinationAddress, global::System.DateTime arrivalTime, global::System.DateTime dispatchTime, global::System.String address)
 {
     TripDestination tripDestination = new TripDestination();
     tripDestination.Id = id;
     tripDestination.TripId = tripId;
     tripDestination.DestinationName = destinationName;
     tripDestination.DestinationAddress = destinationAddress;
     tripDestination.ArrivalTime = arrivalTime;
     tripDestination.DispatchTime = dispatchTime;
     tripDestination.Address = address;
     return tripDestination;
 }