/// <summary>
 /// Deprecated Method for adding a new object to the Prices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPrices(Price price)
 {
     base.AddObject("Prices", price);
 }
 /// <summary>
 /// Create a new Price object.
 /// </summary>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="value">Initial value of the Value property.</param>
 public static Price CreatePrice(global::System.Int32 code, global::System.Double value)
 {
     Price price = new Price();
     price.Code = code;
     price.Value = value;
     return price;
 }