/// <summary>
 /// Deprecated Method for adding a new object to the stocks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTostocks(stock stock)
 {
     base.AddObject("stocks", stock);
 }
 /// <summary>
 /// Create a new stock object.
 /// </summary>
 /// <param name="tickerSymbol">Initial value of the tickerSymbol property.</param>
 /// <param name="stockName">Initial value of the stockName property.</param>
 /// <param name="lastDone">Initial value of the lastDone property.</param>
 /// <param name="currency">Initial value of the currency property.</param>
 public static stock Createstock(global::System.String tickerSymbol, global::System.String stockName, global::System.Decimal lastDone, global::System.String currency)
 {
     stock stock = new stock();
     stock.tickerSymbol = tickerSymbol;
     stock.stockName = stockName;
     stock.lastDone = lastDone;
     stock.currency = currency;
     return stock;
 }