/// <summary> /// Create a new DayDetail object. /// </summary> /// <param name="stockCode">Initial value of the StockCode property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="open">Initial value of the Open property.</param> /// <param name="high">Initial value of the High property.</param> /// <param name="low">Initial value of the Low property.</param> /// <param name="close">Initial value of the Close property.</param> /// <param name="volume">Initial value of the Volume property.</param> /// <param name="scale">Initial value of the Scale property.</param> public static DayDetail CreateDayDetail(global::System.String stockCode, global::System.DateTime date, global::System.Decimal open, global::System.Decimal high, global::System.Decimal low, global::System.Decimal close, global::System.Decimal volume, global::System.Byte scale) { DayDetail dayDetail = new DayDetail(); dayDetail.StockCode = stockCode; dayDetail.Date = date; dayDetail.Open = open; dayDetail.High = high; dayDetail.Low = low; dayDetail.Close = close; dayDetail.Volume = volume; dayDetail.Scale = scale; return dayDetail; }
/// <summary> /// Deprecated Method for adding a new object to the DayDetail EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDayDetail(DayDetail dayDetail) { base.AddObject("DayDetail", dayDetail); }