/// <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); }
/// <summary> /// Create a new Price object. /// </summary> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="price1">Initial value of the Price1 property.</param> /// <param name="updatedDate">Initial value of the UpdatedDate property.</param> public static Price CreatePrice(global::System.Int32 productId, global::System.Double price1, global::System.DateTime updatedDate) { Price price = new Price(); price.ProductId = productId; price.Price1 = price1; price.UpdatedDate = updatedDate; return price; }