Partager via


Create Method

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

Creates or gets the instance of the OrderContext class for the specified site or the specified connection strings.

Overload List

  Name Description
Aa530566.pubmethod(en-US,CS.70).gifAa530566.static(en-US,CS.70).gif Create(String) Creates or gets the instance of the OrderContext class for the specified site.
Aa530566.pubmethod(en-US,CS.70).gifAa530566.static(en-US,CS.70).gif Create(String, String) Creates or gets a new instance of the OrderContext class with the specified connection strings.

Top

Remarks

Creates and returns a new instance of the OrderContext with the specified site name. If a context already exists, the method returns that instance.

See Also

Reference

OrderContext Class

OrderContext Members

Microsoft.CommerceServer.Runtime.Orders Namespace