/// <summary> /// Deprecated Method for adding a new object to the TravelOrder EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTravelOrder(TravelOrder travelOrder) { base.AddObject("TravelOrder", travelOrder); }
/// <summary> /// Create a new TravelOrder object. /// </summary> /// <param name="tID">Initial value of the TID property.</param> /// <param name="mID">Initial value of the MID property.</param> /// <param name="eID">Initial value of the EID property.</param> /// <param name="tMID">Initial value of the TMID property.</param> /// <param name="approved">Initial value of the Approved property.</param> /// <param name="answered">Initial value of the Answered property.</param> /// <param name="sent">Initial value of the Sent property.</param> public static TravelOrder CreateTravelOrder(global::System.Int32 tID, global::System.Int32 mID, global::System.Int32 eID, global::System.Int32 tMID, global::System.Boolean approved, global::System.Boolean answered, global::System.Boolean sent) { TravelOrder travelOrder = new TravelOrder(); travelOrder.TID = tID; travelOrder.MID = mID; travelOrder.EID = eID; travelOrder.TMID = tMID; travelOrder.Approved = approved; travelOrder.Answered = answered; travelOrder.Sent = sent; return travelOrder; }