Class CommerceContextImpl
The default implementation for ICommerceContext
Inheritance
System.Object
CommerceContextImpl
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.CommerceContext
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CommerceContextImpl : ICommerceContext
Constructors
CommerceContextImpl()
Initializes a new instance of the CommerceContextImpl class.
Declaration
[Obsolete("This constructor was obsoleted, will remain at least until August 2017.")]
public CommerceContextImpl()
CommerceContextImpl(IConnectionStringHandler)
Initializes a new instance of the CommerceContextImpl class.
Declaration
public CommerceContextImpl(IConnectionStringHandler connectionHandler)
Parameters
Type | Name | Description |
---|---|---|
IConnectionStringHandler | connectionHandler | The connection handler. |
Methods
GetApplicationId()
Declaration
public Guid GetApplicationId()
Returns
Type | Description |
---|---|
System.Guid |
GetCatalogConnectionString()
Declaration
public string GetCatalogConnectionString()
Returns
Type | Description |
---|---|
System.String |
GetCustomerGroup()
Declaration
public string GetCustomerGroup()
Returns
Type | Description |
---|---|
System.String |
GetDefaultCurrency()
Declaration
public Currency GetDefaultCurrency()
Returns
Type | Description |
---|---|
Currency |
GetUserName()
Declaration
public string GetUserName()
Returns
Type | Description |
---|---|
System.String |