/// <summary>
 /// Create a new Stock object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="symbol">Initial value of the Symbol property.</param>
 public static Stock CreateStock(global::System.Guid id, global::System.String symbol)
 {
     Stock stock = new Stock();
     stock.Id = id;
     stock.Symbol = symbol;
     return stock;
 }
 /// <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);
 }