Udostępnij za pośrednictwem


RegionCodeDataSet 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 RegionCode methods in the Orders system.

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

Syntax

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

Remarks

Class is the strongly typed dataset which holds the RegionCodes, including Codes for the state, region, or province.

The dataset contains two tables: CountryCodes and StateCodes.

The following table lists and describes the columns in CountryCodes table.

Column

Type

Description

Name

String

The name of the country or region.

Code

String

The code for the country or region.

Description

String

A description of the country or region.

LastModified

DateTime

This column is not used.

If this column contains data, the data does not actually represent the last time that the country or region code was modified.

ModifiedBy

String

This column is not used.

If this column contains data, the data does not actually represent the name of the user who modified the country or region code.

Created

DateTime

This column is not used.

If this column contains data, the data does not actually represent the name of the user who created the country or region code.

The following table lists and describes the columns in StateCodes table.

Column

Type

Description

Name

String

The name of the state or province.

Code

String

The code for the state or province.

Code

String

The code for the region or country that contains this state or province.

Description

String

A description of the state or province.

LastModified

DateTime

This column is not used.

If this column contains data, the data does not actually represent the last time that the state or province code was modified.

ModifiedBy

String

This column is not used.

If this column contains data, the data does not actually represent the name of the user who modified the state or province code.

Created

DateTime

This column is not used.

If this column contains data, the data does not actually represent the name of the user who created the state or province code.

Inheritance Hierarchy

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

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

RegionCodeDataSet Members

Microsoft.CommerceServer.Orders Namespace