Class CatalogConnection
Config setting which defines the connection string for the catalog system.
Inheritance
Namespace: Mediachase.Commerce.Catalog
Assembly: Mediachase.Commerce.dll
Version: 12.17.2Syntax
public class CatalogConnection : ConfigurationElement
Constructors
CatalogConnection()
Declaration
public CatalogConnection()
Properties
AppDatabase
Uses ConnectionStringName property to retrieve connection string from ConnectionStrings portion of app/web.config file
Declaration
public string AppDatabase { get; }
Property Value
Type | Description |
---|---|
System.String | The app database. |
CatalogImportBatchSize
Gets or sets the Batches size of the entries when importing catalog. Default is 200.
Declaration
public int CatalogImportBatchSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | Number of entries to import per batch. |
CommandTimeout
Gets or sets a value indicating whether to user custom sql command timeout or not. Default is -1.
Declaration
public int CommandTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | CommandTimeout in seconds |
ConnectionStringName
Retrieves logical name of connection string in CommerceFramework Application hierarchy
Declaration
public string ConnectionStringName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The connection string name. |
UseWebServices
Gets or sets a value indicating whether to use web services or not. Default is false.
Declaration
public bool UseWebServices { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
IsReadOnly()
Gets a value indicating whether the System.Configuration.ConfigurationElement object is read-only.
Declaration
public override bool IsReadOnly()
Returns
Type | Description |
---|---|
System.Boolean | true if the System.Configuration.ConfigurationElement object is read-only; otherwise, false. |