/// <summary> /// Deprecated Method for adding a new object to the HistDatas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHistDatas(HistData histData) { base.AddObject("HistDatas", histData); }
/// <summary> /// Create a new HistData object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="stockId">Initial value of the StockId property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="openValue">Initial value of the OpenValue property.</param> /// <param name="highValue">Initial value of the HighValue property.</param> /// <param name="lowValue">Initial value of the LowValue property.</param> /// <param name="closeValue">Initial value of the CloseValue property.</param> /// <param name="volume">Initial value of the Volume property.</param> /// <param name="perionId">Initial value of the PerionId property.</param> public static HistData CreateHistData(global::System.Int32 id, global::System.Int32 stockId, global::System.DateTime date, global::System.Double openValue, global::System.Double highValue, global::System.Double lowValue, global::System.Double closeValue, global::System.Int32 volume, global::System.Int32 perionId) { HistData histData = new HistData(); histData.Id = id; histData.StockId = stockId; histData.Date = date; histData.OpenValue = openValue; histData.HighValue = highValue; histData.LowValue = lowValue; histData.CloseValue = closeValue; histData.Volume = volume; histData.PerionId = perionId; return histData; }