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 | |
---|---|---|
Create(String) | Creates or gets the instance of the OrderContext class for the specified site. | |
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.