다음을 통해 공유


ShippingRatesDataSet Class

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

The strongly typed DataSet that is used to access the shipping rates in the Orders system.

Namespace:  Microsoft.CommerceServer.Orders
Assembly:  Microsoft.CommerceServer.Orders.CrossTierTypes (in Microsoft.CommerceServer.Orders.CrossTierTypes.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ShippingRatesDataSet _
    Inherits DataSet
'Usage
Dim instance As ShippingRatesDataSet
[SerializableAttribute]
public class ShippingRatesDataSet : DataSet
[SerializableAttribute]
public ref class ShippingRatesDataSet : public DataSet
public class ShippingRatesDataSet extends DataSet

Remarks

Class is the strongly typed dataset which holds the shipping rates.

The ShippingRatesDataSet contains one table: ShippingRates.

The ShippingRates table contains two columns:

  • MaxLimit: The maximum value to which this price applies.

    Note

    A value of -1 means that this rate should be used when no other rate applies.

  • Price: The price for shipping items whose value is less than or equal to MaxLimit.

Examples

For example, if it costs $5 US to ship up to 10 lbs of goods, $20 US to ship up to 100 lbs, and $45 US to ship any amount over 100 lbs, the ShippingRates table would contain the following rows:

MaxLimit

Price

10

5

100

20

-1

45

Inheritance Hierarchy

System..::.Object
  System.ComponentModel..::.MarshalByValueComponent
    System.Data..::.DataSet
      Microsoft.CommerceServer.Orders..::.ShippingRatesDataSet

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ShippingRatesDataSet Members

Microsoft.CommerceServer.Orders Namespace