/// <summary>
 /// Deprecated Method for adding a new object to the TravelAdvances EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTravelAdvances(TravelAdvances travelAdvances)
 {
     base.AddObject("TravelAdvances", travelAdvances);
 }
 /// <summary>
 /// Create a new TravelAdvances object.
 /// </summary>
 /// <param name="tID">Initial value of the TID property.</param>
 /// <param name="total">Initial value of the Total property.</param>
 /// <param name="approved">Initial value of the Approved property.</param>
 /// <param name="answered">Initial value of the Answered property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="eID">Initial value of the EID property.</param>
 /// <param name="mID">Initial value of the MID property.</param>
 public static TravelAdvances CreateTravelAdvances(global::System.Int32 tID, global::System.Int32 total, global::System.Boolean approved, global::System.Boolean answered, global::System.DateTime date, global::System.Int32 eID, global::System.Int32 mID)
 {
     TravelAdvances travelAdvances = new TravelAdvances();
     travelAdvances.TID = tID;
     travelAdvances.Total = total;
     travelAdvances.Approved = approved;
     travelAdvances.Answered = answered;
     travelAdvances.Date = date;
     travelAdvances.EID = eID;
     travelAdvances.MID = mID;
     return travelAdvances;
 }