/// <summary>
 /// Deprecated Method for adding a new object to the PricingRules EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPricingRules(PricingRule pricingRule)
 {
     base.AddObject("PricingRules", pricingRule);
 }
 /// <summary>
 /// Create a new PricingRule object.
 /// </summary>
 /// <param name="ruleID">Initial value of the RuleID property.</param>
 /// <param name="policyName">Initial value of the PolicyName property.</param>
 /// <param name="reduction">Initial value of the Reduction property.</param>
 public static PricingRule CreatePricingRule(global::System.Int32 ruleID, global::System.String policyName, global::System.Byte reduction)
 {
     PricingRule pricingRule = new PricingRule();
     pricingRule.RuleID = ruleID;
     pricingRule.PolicyName = policyName;
     pricingRule.Reduction = reduction;
     return pricingRule;
 }