/// <summary> /// Deprecated Method for adding a new object to the PriceRanges EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPriceRanges(PriceRange priceRange) { base.AddObject("PriceRanges", priceRange); }
/// <summary> /// Create a new PriceRange object. /// </summary> /// <param name="priceRangeID">Initial value of the priceRangeID property.</param> /// <param name="min">Initial value of the min property.</param> /// <param name="max">Initial value of the max property.</param> public static PriceRange CreatePriceRange(global::System.Int32 priceRangeID, global::System.Int32 min, global::System.Int32 max) { PriceRange priceRange = new PriceRange(); priceRange.priceRangeID = priceRangeID; priceRange.min = min; priceRange.max = max; return priceRange; }