Collapse AllExpand All        Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: J# Code: JScript 
OrderTemplate Class

Enables customers to create re-usable shopping wish lists. Encapsulates an order template in the Commerce order system.

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

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class OrderTemplate _
    Inherits OrderGroup _
    Implements ISerializable
Visual Basic (Usage)
Dim instance As OrderTemplate
C#
[SerializableAttribute]
public class OrderTemplate : OrderGroup, ISerializable
Visual C++
[SerializableAttribute]
public ref class OrderTemplate : public OrderGroup, 
    ISerializable
JScript
public class OrderTemplate extends OrderGroup implements ISerializable
Remarks

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.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime..::.MappedStorageBase
    Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
      Microsoft.CommerceServer.Runtime.Orders..::.OrderTemplate
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

Page view tracker