/// <summary> /// Create a new ProductRebate object. /// </summary> /// <param name="productRebateID">Initial value of the ProductRebateID property.</param> /// <param name="productID">Initial value of the ProductID property.</param> public static ProductRebate CreateProductRebate(global::System.Int32 productRebateID, global::System.Int32 productID) { ProductRebate productRebate = new ProductRebate(); productRebate.ProductRebateID = productRebateID; productRebate.ProductID = productID; return productRebate; }
/// <summary> /// Deprecated Method for adding a new object to the ProductRebates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductRebates(ProductRebate productRebate) { base.AddObject("ProductRebates", productRebate); }