using System; using System.Configuration; namespace Yavsc.Model.FrontOffice.Catalog.Configuration { /// /// Catalog provider configuration element. /// public class CatalogProviderConfigurationElement : ConfigurationElement { /// /// Gets or sets the name. /// /// The name. [ConfigurationProperty("name", IsRequired = true, IsKey=true)] public string Name { get { return (string)this ["name"]; } set { this ["name"] = value; } } /// /// Gets or sets the type. /// /// The type. [ConfigurationProperty("type", IsRequired = true)] public string Type { get { return (string)this ["type"]; } set { this ["type"] = value; } } /// /// Gets or sets the connection. /// /// The connection. [ConfigurationProperty("connection")] public string Connection { get { return (string)this ["connection"]; } set { this ["connection"] = value; } } /// /// Gets or sets the description. /// /// The description. [ConfigurationProperty("description")] public string Description { get { return (string)this ["description"]; } set { this ["description"] = value; } } /// /// Gets or sets the name of the application. /// /// The name of the application. [ConfigurationProperty("applicationName")] public string ApplicationName { get { return (string)this ["applicationName"]; } set { this ["applicationName"] = value; } } } }