/// <summary> /// Deprecated Method for adding a new object to the CostcoProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCostcoProducts(CostcoProduct costcoProduct) { base.AddObject("CostcoProducts", costcoProduct); }
/// <summary> /// Create a new CostcoProduct object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="price">Initial value of the Price property.</param> /// <param name="activeFlag">Initial value of the ActiveFlag property.</param> public static CostcoProduct CreateCostcoProduct(global::System.Decimal id, global::System.String code, global::System.String description, global::System.Decimal price, global::System.String activeFlag) { CostcoProduct costcoProduct = new CostcoProduct(); costcoProduct.ID = id; costcoProduct.Code = code; costcoProduct.Description = description; costcoProduct.Price = price; costcoProduct.ActiveFlag = activeFlag; return costcoProduct; }