/// <summary> /// Deprecated Method for adding a new object to the bvc_Tax EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_Tax(bvc_Tax bvc_Tax) { base.AddObject("bvc_Tax", bvc_Tax); }
/// <summary> /// Create a new bvc_Tax object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="countryCode">Initial value of the CountryCode property.</param> /// <param name="regionCode">Initial value of the RegionCode property.</param> /// <param name="postalCode">Initial value of the PostalCode property.</param> /// <param name="taxClass">Initial value of the TaxClass property.</param> /// <param name="rate">Initial value of the Rate property.</param> public static bvc_Tax Createbvc_Tax(global::System.Int32 id, global::System.String countryCode, global::System.Int32 regionCode, global::System.String postalCode, global::System.Int32 taxClass, global::System.Double rate) { bvc_Tax bvc_Tax = new bvc_Tax(); bvc_Tax.ID = id; bvc_Tax.CountryCode = countryCode; bvc_Tax.RegionCode = regionCode; bvc_Tax.PostalCode = postalCode; bvc_Tax.TaxClass = taxClass; bvc_Tax.Rate = rate; return bvc_Tax; }