/// <summary>
 /// Deprecated Method for adding a new object to the Receipts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToReceipts(Receipt receipt)
 {
     base.AddObject("Receipts", receipt);
 }
 /// <summary>
 /// Create a new Receipt object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="amount">Initial value of the Amount property.</param>
 /// <param name="billId">Initial value of the BillId property.</param>
 public static Receipt CreateReceipt(global::System.Int32 id, global::System.Double amount, global::System.Int32 billId)
 {
     Receipt receipt = new Receipt();
     receipt.Id = id;
     receipt.Amount = amount;
     receipt.BillId = billId;
     return receipt;
 }