/// <summary> /// Create a new Price object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="value">Initial value of the Value property.</param> /// <param name="timeStamp">Initial value of the TimeStamp property.</param> /// <param name="stock_Id">Initial value of the Stock_Id property.</param> public static Price CreatePrice(global::System.Guid id, global::System.Decimal value, global::System.DateTime timeStamp, global::System.Guid stock_Id) { Price price = new Price(); price.Id = id; price.Value = value; price.TimeStamp = timeStamp; price.Stock_Id = stock_Id; return price; }
/// <summary> /// Deprecated Method for adding a new object to the Prices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPrices(Price price) { base.AddObject("Prices", price); }