/// <summary> /// Deprecated Method for adding a new object to the TravelMethod EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTravelMethod(TravelMethod travelMethod) { base.AddObject("TravelMethod", travelMethod); }
/// <summary> /// Create a new TravelMethod object. /// </summary> /// <param name="tMID">Initial value of the TMID property.</param> /// <param name="name">Initial value of the Name property.</param> public static TravelMethod CreateTravelMethod(global::System.Int32 tMID, global::System.String name) { TravelMethod travelMethod = new TravelMethod(); travelMethod.TMID = tMID; travelMethod.Name = name; return travelMethod; }