コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ProductRebates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToProductRebates(ProductRebate productRebate)
 {
     base.AddObject("ProductRebates", productRebate);
 }