OrderGroup Constructor

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

Initializes a new instance of the OrderGroup class.

Overload List

  Name Description
Aa511822.protmethod(en-US,CS.70).gif OrderGroup()()() Initializes a new instance of the OrderGroup class.
Aa511822.protmethod(en-US,CS.70).gif OrderGroup(SerializationInfo, StreamingContext) Creates a new instance of the OrderGroup class using the specified serialization and streaming context information.
Aa511822.protmethod(en-US,CS.70).gif OrderGroup(StatusCodes, Guid) Initializes a new instance of the OrderGroup class with the specified user identifier.
Aa511822.protmethod(en-US,CS.70).gif OrderGroup(StatusCodes, Guid, Guid) Initializes a new instance of the OrderGroup class with the specified user identifier and OrderContext.

Top

Remarks

OrderGroup is the base class for the Basket, PurchaseOrder, and OrderTemplate order group types in the order capture system. An order can go through several stages -- from a wish list, to a basket, to a completed order. In all incarnations of an order, the OrderGroup is the base class that backs all of these objects. OrderGroup contains all that is common across these different stages of an order. Derived classes can add methods and properties that are specific to that stage. For example, a derived Basket class might add methods for checking inventory. A derived PurchaseOrder class might contain methods to return shipping status.

OrderGroup supports the IEnumerable interface to allow for easy enumeration of all the strongly typed and non-strongly typed properties exposed by the order group instance. You may further sub-type these classes to create custom order group sub-types. However, the OrderGroup class itself is non-extensible. OrderGroup exposes a base set of properties and methods common to all OrderGroup sub-types. An order group instance is uniquely identifiable by the OrderGroupId.

See Also

Reference

OrderGroup Class

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace