/// <summary> /// Deprecated Method for adding a new object to the HR_GBL_TaxRules EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToHR_GBL_TaxRules(HR_GBL_TaxRules hR_GBL_TaxRules) { base.AddObject("HR_GBL_TaxRules", hR_GBL_TaxRules); }
/// <summary> /// Create a new HR_GBL_TaxRules object. /// </summary> /// <param name="taxRuleID">Initial value of the TaxRuleID property.</param> /// <param name="ruleName">Initial value of the RuleName property.</param> /// <param name="ruleDescription">Initial value of the RuleDescription property.</param> /// <param name="ruleValue">Initial value of the RuleValue property.</param> public static HR_GBL_TaxRules CreateHR_GBL_TaxRules(global::System.Int32 taxRuleID, global::System.String ruleName, global::System.String ruleDescription, global::System.String ruleValue) { HR_GBL_TaxRules hR_GBL_TaxRules = new HR_GBL_TaxRules(); hR_GBL_TaxRules.TaxRuleID = taxRuleID; hR_GBL_TaxRules.RuleName = ruleName; hR_GBL_TaxRules.RuleDescription = ruleDescription; hR_GBL_TaxRules.RuleValue = ruleValue; return hR_GBL_TaxRules; }