Esempio n. 1
0
        /// <summary>
        /// Create a new ShippingRate object.
        /// </summary>
        /// <param name="shippingCarrier_Id">Initial value of the ShippingCarrier_Id property.</param>
        /// <param name="shippingMethod_Id">Initial value of the ShippingMethod_Id property.</param>
        /// <param name="shippingRate_Id">Initial value of the ShippingRate_Id property.</param>
        /// <param name="shippingRate_CountryId">Initial value of the ShippingRate_CountryId property.</param>
        /// <param name="shippingRate_Name">Initial value of the ShippingRate_Name property.</param>
        /// <param name="shippingRate_ZipStart">Initial value of the ShippingRate_ZipStart property.</param>
        /// <param name="shippingRate_ZipEnd">Initial value of the ShippingRate_ZipEnd property.</param>
        /// <param name="shippingRate_WeightStart">Initial value of the ShippingRate_WeightStart property.</param>
        /// <param name="shippingRate_WeightEnd">Initial value of the ShippingRate_WeightEnd property.</param>
        /// <param name="shippingRate_Value">Initial value of the ShippingRate_Value property.</param>
        /// <param name="shippingRate_PackageFee">Initial value of the ShippingRate_PackageFee property.</param>
        /// <param name="shippingRate_VAT">Initial value of the ShippingRate_VAT property.</param>
        /// <param name="shippingRate_CurrencyCode">Initial value of the ShippingRate_CurrencyCode property.</param>
        /// <param name="shippingRate_ListOrder">Initial value of the ShippingRate_ListOrder property.</param>
        public static ShippingRate CreateShippingRate(global::System.Int32 shippingCarrier_Id, global::System.Int32 shippingMethod_Id, global::System.Int32 shippingRate_Id, global::System.Int32 shippingRate_CountryId, global::System.String shippingRate_Name, global::System.String shippingRate_ZipStart, global::System.String shippingRate_ZipEnd, global::System.Decimal shippingRate_WeightStart, global::System.Decimal shippingRate_WeightEnd, global::System.Decimal shippingRate_Value, global::System.Decimal shippingRate_PackageFee, global::System.Decimal shippingRate_VAT, global::System.String shippingRate_CurrencyCode, global::System.Int32 shippingRate_ListOrder)
        {
            ShippingRate shippingRate = new ShippingRate();

            shippingRate.ShippingCarrier_Id        = shippingCarrier_Id;
            shippingRate.ShippingMethod_Id         = shippingMethod_Id;
            shippingRate.ShippingRate_Id           = shippingRate_Id;
            shippingRate.ShippingRate_CountryId    = shippingRate_CountryId;
            shippingRate.ShippingRate_Name         = shippingRate_Name;
            shippingRate.ShippingRate_ZipStart     = shippingRate_ZipStart;
            shippingRate.ShippingRate_ZipEnd       = shippingRate_ZipEnd;
            shippingRate.ShippingRate_WeightStart  = shippingRate_WeightStart;
            shippingRate.ShippingRate_WeightEnd    = shippingRate_WeightEnd;
            shippingRate.ShippingRate_Value        = shippingRate_Value;
            shippingRate.ShippingRate_PackageFee   = shippingRate_PackageFee;
            shippingRate.ShippingRate_VAT          = shippingRate_VAT;
            shippingRate.ShippingRate_CurrencyCode = shippingRate_CurrencyCode;
            shippingRate.ShippingRate_ListOrder    = shippingRate_ListOrder;
            return(shippingRate);
        }
 /// <summary>
 /// Create a new ShippingRate object.
 /// </summary>
 /// <param name="shippingCarrier_Id">Initial value of the ShippingCarrier_Id property.</param>
 /// <param name="shippingMethod_Id">Initial value of the ShippingMethod_Id property.</param>
 /// <param name="shippingRate_Id">Initial value of the ShippingRate_Id property.</param>
 /// <param name="shippingRate_CountryId">Initial value of the ShippingRate_CountryId property.</param>
 /// <param name="shippingRate_Name">Initial value of the ShippingRate_Name property.</param>
 /// <param name="shippingRate_ZipStart">Initial value of the ShippingRate_ZipStart property.</param>
 /// <param name="shippingRate_ZipEnd">Initial value of the ShippingRate_ZipEnd property.</param>
 /// <param name="shippingRate_WeightStart">Initial value of the ShippingRate_WeightStart property.</param>
 /// <param name="shippingRate_WeightEnd">Initial value of the ShippingRate_WeightEnd property.</param>
 /// <param name="shippingRate_Value">Initial value of the ShippingRate_Value property.</param>
 /// <param name="shippingRate_PackageFee">Initial value of the ShippingRate_PackageFee property.</param>
 /// <param name="shippingRate_VAT">Initial value of the ShippingRate_VAT property.</param>
 /// <param name="shippingRate_CurrencyCode">Initial value of the ShippingRate_CurrencyCode property.</param>
 /// <param name="shippingRate_ListOrder">Initial value of the ShippingRate_ListOrder property.</param>
 public static ShippingRate CreateShippingRate(global::System.Int32 shippingCarrier_Id, global::System.Int32 shippingMethod_Id, global::System.Int32 shippingRate_Id, global::System.Int32 shippingRate_CountryId, global::System.String shippingRate_Name, global::System.String shippingRate_ZipStart, global::System.String shippingRate_ZipEnd, global::System.Decimal shippingRate_WeightStart, global::System.Decimal shippingRate_WeightEnd, global::System.Decimal shippingRate_Value, global::System.Decimal shippingRate_PackageFee, global::System.Decimal shippingRate_VAT, global::System.String shippingRate_CurrencyCode, global::System.Int32 shippingRate_ListOrder)
 {
     ShippingRate shippingRate = new ShippingRate();
     shippingRate.ShippingCarrier_Id = shippingCarrier_Id;
     shippingRate.ShippingMethod_Id = shippingMethod_Id;
     shippingRate.ShippingRate_Id = shippingRate_Id;
     shippingRate.ShippingRate_CountryId = shippingRate_CountryId;
     shippingRate.ShippingRate_Name = shippingRate_Name;
     shippingRate.ShippingRate_ZipStart = shippingRate_ZipStart;
     shippingRate.ShippingRate_ZipEnd = shippingRate_ZipEnd;
     shippingRate.ShippingRate_WeightStart = shippingRate_WeightStart;
     shippingRate.ShippingRate_WeightEnd = shippingRate_WeightEnd;
     shippingRate.ShippingRate_Value = shippingRate_Value;
     shippingRate.ShippingRate_PackageFee = shippingRate_PackageFee;
     shippingRate.ShippingRate_VAT = shippingRate_VAT;
     shippingRate.ShippingRate_CurrencyCode = shippingRate_CurrencyCode;
     shippingRate.ShippingRate_ListOrder = shippingRate_ListOrder;
     return shippingRate;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the ShippingRates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShippingRates(ShippingRate shippingRate)
 {
     base.AddObject("ShippingRates", shippingRate);
 }
Esempio n. 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ShippingRates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToShippingRates(ShippingRate shippingRate)
 {
     base.AddObject("ShippingRates", shippingRate);
 }