Пример #1
0
 /// <summary>
 /// Create a new ecommrc_Taxes object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeId">Initial value of the StoreId property.</param>
 /// <param name="countryName">Initial value of the CountryName property.</param>
 /// <param name="regionName">Initial value of the RegionName property.</param>
 /// <param name="postalCode">Initial value of the PostalCode property.</param>
 /// <param name="taxScheduleId">Initial value of the TaxScheduleId property.</param>
 /// <param name="rate">Initial value of the Rate property.</param>
 /// <param name="applyToShipping">Initial value of the ApplyToShipping property.</param>
 public static ecommrc_Taxes Createecommrc_Taxes(global::System.Int64 id, global::System.Int64 storeId, global::System.String countryName, global::System.String regionName, global::System.String postalCode, global::System.Int64 taxScheduleId, global::System.Decimal rate, global::System.Boolean applyToShipping)
 {
     ecommrc_Taxes ecommrc_Taxes = new ecommrc_Taxes();
     ecommrc_Taxes.Id = id;
     ecommrc_Taxes.StoreId = storeId;
     ecommrc_Taxes.CountryName = countryName;
     ecommrc_Taxes.RegionName = regionName;
     ecommrc_Taxes.PostalCode = postalCode;
     ecommrc_Taxes.TaxScheduleId = taxScheduleId;
     ecommrc_Taxes.Rate = rate;
     ecommrc_Taxes.ApplyToShipping = applyToShipping;
     return ecommrc_Taxes;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ecommrc_Taxes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToecommrc_Taxes(ecommrc_Taxes ecommrc_Taxes)
 {
     base.AddObject("ecommrc_Taxes", ecommrc_Taxes);
 }