Export (0) Print
Expand All

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)

public sealed class OrderManagementContext : OrderServices

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.

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft