/// <summary> /// Create a new ItemPrice object. /// </summary> /// <param name="priceID">Initial value of the PriceID property.</param> /// <param name="id">Initial value of the ID property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="entered">Initial value of the Entered property.</param> public static ItemPrice CreateItemPrice(global::System.Int32 priceID, global::System.Int32 id, global::System.Double price, global::System.DateTime entered) { ItemPrice itemPrice = new ItemPrice(); itemPrice.PriceID = priceID; itemPrice.ID = id; itemPrice.Price = price; itemPrice.Entered = entered; return(itemPrice); }
/// <summary> /// Deprecated Method for adding a new object to the ItemPrices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToItemPrices(ItemPrice itemPrice) { base.AddObject("ItemPrices", itemPrice); }