November Happy Hour will be moved to Thursday December 5th.

Class MarketingConnection

Configuration element defines name of the connection string used for getting marketing application properties.

Inheritance
System.Object
MarketingConnection
Namespace: Mediachase.Commerce.Marketing
Assembly: Mediachase.Commerce.dll
Version: 12.17.2
Syntax
[Obsolete("Use promotion system in EPiServer.Commerce.Marketing instead. Will be removed in a future major release, but not earlier than August 2018.")]
public class MarketingConnection : ConfigurationElement

Constructors

MarketingConnection()

Declaration
public MarketingConnection()

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.

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.

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.