Condividi tramite


OrderManagementContext Class

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

Serves as the starting point for all management operations in the orders data management system. This class cannot be inherited.

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

Syntax

'Declaration
Public NotInheritable Class OrderManagementContext _
    Inherits OrderServices
'Usage
Dim instance As OrderManagementContext
public sealed class OrderManagementContext : OrderServices
public ref class OrderManagementContext sealed : public OrderServices
public final class OrderManagementContext extends OrderServices

Remarks

The OrderManagementContext is the root object for the Orders System. It is a thread-safe and stateless object. A single instance should be created and reused for the lifetime of the application.

This class is the single entry point class. It provides methods to create an instance of the OrderManagementContext class in either the Web service mode or the local server mode. When initialized in the Web service mode subsequent method invocations on this instance will use the Orders web service to perform the actions. When initialized in the local server mode subsequent method invocations on this instance will perform the directly against the orders database.

Inheritance Hierarchy

System..::.Object
  Microsoft.CommerceServer.Orders..::.OrderServices
    Microsoft.CommerceServer.Orders..::.OrderManagementContext

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

OrderManagementContext Members

Microsoft.CommerceServer.Orders Namespace