/// <summary> /// Deprecated Method for adding a new object to the TaxSettings EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaxSettings(TaxSetting taxSetting) { base.AddObject("TaxSettings", taxSetting); }
/// <summary> /// Create a new TaxSetting object. /// </summary> /// <param name="taxID">Initial value of the TaxID property.</param> /// <param name="taxRate">Initial value of the TaxRate property.</param> public static TaxSetting CreateTaxSetting(global::System.Int32 taxID, global::System.Int32 taxRate) { TaxSetting taxSetting = new TaxSetting(); taxSetting.TaxID = taxID; taxSetting.TaxRate = taxRate; return taxSetting; }