/// <summary>
 /// Deprecated Method for adding a new object to the Transactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTransactions(Transaction transaction)
 {
     base.AddObject("Transactions", transaction);
 }
 /// <summary>
 /// Create a new Transaction object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="prod_name">Initial value of the prod_name property.</param>
 /// <param name="purchase_date">Initial value of the purchase_date property.</param>
 /// <param name="card_no">Initial value of the card_no property.</param>
 /// <param name="product_quantity">Initial value of the product_quantity property.</param>
 /// <param name="product_unit_price">Initial value of the product_unit_price property.</param>
 /// <param name="uni_GST">Initial value of the uni_GST property.</param>
 /// <param name="total_price">Initial value of the total_price property.</param>
 /// <param name="total_GST">Initial value of the total_GST property.</param>
 /// <param name="customer_id">Initial value of the customer_id property.</param>
 public static Transaction CreateTransaction(global::System.Int32 id, global::System.String prod_name, global::System.DateTime purchase_date, global::System.Int32 card_no, global::System.Decimal product_quantity, global::System.Decimal product_unit_price, global::System.Decimal uni_GST, global::System.Decimal total_price, global::System.Decimal total_GST, global::System.Int32 customer_id)
 {
     Transaction transaction = new Transaction();
     transaction.id = id;
     transaction.prod_name = prod_name;
     transaction.purchase_date = purchase_date;
     transaction.card_no = card_no;
     transaction.product_quantity = product_quantity;
     transaction.product_unit_price = product_unit_price;
     transaction.uni_GST = uni_GST;
     transaction.total_price = total_price;
     transaction.total_GST = total_GST;
     transaction.customer_id = customer_id;
     return transaction;
 }