Kopīgot, izmantojot


OrderGroup Class

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

Represents an order in a Commerce Server application.

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

Syntax

'Declaration
<SerializableAttribute> _
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")> _
Public MustInherit Class OrderGroup _
    Inherits MappedStorageBase _
    Implements IEnumerable, ISerializable
'Usage
Dim instance As OrderGroup
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
public abstract class OrderGroup : MappedStorageBase, IEnumerable, 
    ISerializable
[SerializableAttribute]
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
public ref class OrderGroup abstract : public MappedStorageBase, 
    IEnumerable, ISerializable
public abstract class OrderGroup extends MappedStorageBase implements IEnumerable, ISerializable

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.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Runtime..::.MappedStorageBase
    Microsoft.CommerceServer.Runtime.Orders..::.OrderGroup
      Microsoft.CommerceServer.Runtime.Orders..::.Basket
      Microsoft.CommerceServer.Runtime.Orders..::.OrderTemplate
      Microsoft.CommerceServer.Runtime.Orders..::.PurchaseOrder

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

OrderGroup Members

Microsoft.CommerceServer.Runtime.Orders Namespace