/// <summary>
 /// Create a new StockTransaction object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="stationery">Initial value of the stationery property.</param>
 /// <param name="balance">Initial value of the balance property.</param>
 /// <param name="description">Initial value of the description property.</param>
 /// <param name="quantity">Initial value of the quantity property.</param>
 /// <param name="datetime_inserted">Initial value of the datetime_inserted property.</param>
 public static StockTransaction CreateStockTransaction(global::System.Int32 id, global::System.Int32 stationery, global::System.String balance, global::System.String description, global::System.String quantity, global::System.DateTime datetime_inserted)
 {
     StockTransaction stockTransaction = new StockTransaction();
     stockTransaction.id = id;
     stockTransaction.stationery = stationery;
     stockTransaction.balance = balance;
     stockTransaction.description = description;
     stockTransaction.quantity = quantity;
     stockTransaction.datetime_inserted = datetime_inserted;
     return stockTransaction;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the StockTransactions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockTransactions(StockTransaction stockTransaction)
 {
     base.AddObject("StockTransactions", stockTransaction);
 }