Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StockDays EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStockDays(StockDay stockDay)
 {
     base.AddObject("StockDays", stockDay);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new StockDay object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="ticker">Initial value of the Ticker property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="open">Initial value of the Open property.</param>
 /// <param name="close">Initial value of the Close property.</param>
 /// <param name="high">Initial value of the High property.</param>
 /// <param name="low">Initial value of the Low property.</param>
 /// <param name="volume">Initial value of the Volume property.</param>
 /// <param name="dateStamp">Initial value of the DateStamp property.</param>
 public static StockDay CreateStockDay(global::System.Int32 id, global::System.String ticker, global::System.String name, global::System.Double open, global::System.Double close, global::System.Double high, global::System.Double low, global::System.Int32 volume, global::System.DateTime dateStamp)
 {
     StockDay stockDay = new StockDay();
     stockDay.Id = id;
     stockDay.Ticker = ticker;
     stockDay.Name = name;
     stockDay.Open = open;
     stockDay.Close = close;
     stockDay.High = high;
     stockDay.Low = low;
     stockDay.Volume = volume;
     stockDay.DateStamp = dateStamp;
     return stockDay;
 }