Share via


OrderTemplate Constructor

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

Initializes a new instance of the OrderTemplate class.

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

Syntax

'Declaration
Protected Friend Sub New
'Usage

Dim instance As New OrderTemplate()
protected internal OrderTemplate()
protected public:
OrderTemplate()
protected internal function OrderTemplate()

Remarks

Default constructor. Generally used for hydration code, so we do the minimum work possible.

An OrderTemplate object can be used to represent wish lists, recurring orders, shopping lists, or any other form of saved shopping basket. Multiple templates can exist for each user.

An order template can be later converted to a basket. Order templates are uniquely identified.

Permissions

See Also

Reference

OrderTemplate Class

OrderTemplate Members

OrderTemplate Overload

Microsoft.CommerceServer.Runtime.Orders Namespace