/// <summary> /// Create a new Tax object. /// </summary> /// <param name="code">Initial value of the Code property.</param> /// <param name="value">Initial value of the Value property.</param> public static Tax CreateTax(global::System.Int32 code, global::System.Double value) { Tax tax = new Tax(); tax.Code = code; tax.Value = value; return tax; }
/// <summary> /// Deprecated Method for adding a new object to the Taxes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTaxes(Tax tax) { base.AddObject("Taxes", tax); }