/// <summary>
 /// Deprecated Method for adding a new object to the TempInvoices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTempInvoices(TempInvoice tempInvoice)
 {
     base.AddObject("TempInvoices", tempInvoice);
 }
 /// <summary>
 /// Create a new TempInvoice object.
 /// </summary>
 /// <param name="timeStamp">Initial value of the TimeStamp property.</param>
 /// <param name="itemID">Initial value of the ItemID property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 /// <param name="count">Initial value of the Count property.</param>
 /// <param name="id">Initial value of the ID property.</param>
 public static TempInvoice CreateTempInvoice(global::System.Int64 timeStamp, global::System.Int64 itemID, global::System.Int32 price, global::System.Int32 count, global::System.Int64 id)
 {
     TempInvoice tempInvoice = new TempInvoice();
     tempInvoice.TimeStamp = timeStamp;
     tempInvoice.ItemID = itemID;
     tempInvoice.Price = price;
     tempInvoice.Count = count;
     tempInvoice.ID = id;
     return tempInvoice;
 }