/// <summary> /// Deprecated Method for adding a new object to the StockDailies EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStockDailies(StockDaily stockDaily) { base.AddObject("StockDailies", stockDaily); }
/// <summary> /// Create a new StockDaily object. /// </summary> /// <param name="exchange">Initial value of the Exchange property.</param> /// <param name="ticker">Initial value of the Ticker property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="openPrice">Initial value of the OpenPrice property.</param> /// <param name="closePrice">Initial value of the ClosePrice property.</param> /// <param name="highPrice">Initial value of the HighPrice property.</param> /// <param name="lowPrice">Initial value of the LowPrice property.</param> /// <param name="volume">Initial value of the Volume property.</param> public static StockDaily CreateStockDaily(global::System.String exchange, global::System.String ticker, global::System.DateTime date, global::System.Single openPrice, global::System.Single closePrice, global::System.Single highPrice, global::System.Single lowPrice, global::System.Int32 volume) { StockDaily stockDaily = new StockDaily(); stockDaily.Exchange = exchange; stockDaily.Ticker = ticker; stockDaily.Date = date; stockDaily.OpenPrice = openPrice; stockDaily.ClosePrice = closePrice; stockDaily.HighPrice = highPrice; stockDaily.LowPrice = lowPrice; stockDaily.Volume = volume; return stockDaily; }
/// <summary> /// Initializes a new instance of the <see cref="PriceData"/> class. /// </summary> /// <param name="stockDaily">The stock daily.</param> public PriceData(StockDaily stockDaily) { this.stockDaily = stockDaily; }