다음을 통해 공유


DBStorage Object

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

Aa545251.alert_caution(en-US,CS.70).gifImportant Note:

The DBStorage object is obsolete and is provided for migration scenarios only. To persist orders, use classes within the Microsoft.CommerceServer.Orders and Microsoft.CommerceServer.Runtime.Orders namespaces.

Use this method to map Dictionary and SimpleList objects to and from the database, primarily for the storage of receipt and order information. The DBStorage object is created as needed on each page.

ProgID:

Commerce.DBStorage (Externally creatable)

COM Class Name:

MSCSDBStorage_4_0

Type Library Name:

Commerce 1.0 Type Library

DLL Name:

Commerce.dll

Threading Model:

Both

COM Interface Name:

IMSCSDBStorage_4_0

Interface ID Constant:

IID_IMSCSDBStorage_4_0

[C++]

In C++, use the IMSCSDBStorage_4_0 interface to access the properties and methods of the DBStorage object.

Because this object is primarily intended for use within ASP script, access from C++ will not be common.

Methods

Method

Description

IMSCSDBStorage_4_0::InitStorage Method

Initializes the object. This method must be called prior to calling any other DBStorage method.

IMSCSDBStorage_4_0::ProcessData Method [CS02]

Unpacks the data stored in the MarshalColumn column for a given row, and returns the resulting row in a Dictionary object.

See Also

Other Resources

COM Object Reference