/// <summary>
 /// Create a new Candlestick object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="numOccurrences">Initial value of the NumOccurrences property.</param>
 /// <param name="lumenRating">Initial value of the LumenRating property.</param>
 public static Candlestick CreateCandlestick(global::System.Int32 id, global::System.String name, global::System.Int32 numOccurrences, global::System.Int32 lumenRating)
 {
     Candlestick candlestick = new Candlestick();
     candlestick.ID = id;
     candlestick.Name = name;
     candlestick.NumOccurrences = numOccurrences;
     candlestick.LumenRating = lumenRating;
     return candlestick;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Candlesticks EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCandlesticks(Candlestick candlestick)
 {
     base.AddObject("Candlesticks", candlestick);
 }