using System;
using System.Configuration;
namespace PetShop.Data.Bases{
/// <summary>
/// The class that hold the configuration section for the NetTiers Service.
/// </summary>
public class NetTiersServiceSection : ConfigurationSection
{
/// <summary>
/// Gets the providers.
/// </summary>
/// <value>The providers.</value>
[ConfigurationProperty("providers")]
public ProviderSettingsCollection Providers
{
get { return (ProviderSettingsCollection)base["providers"]; }
}
/// <summary>
/// Gets or sets the default provider.
/// </summary>
/// <value>The default provider.</value>
[StringValidator(MinLength = 1)]
[ConfigurationProperty("defaultProvider", DefaultValue = "SqlNetTiersProvider")]
public string DefaultProvider
{
get { return (string)base["defaultProvider"]; }
set { base["defaultProvider"] = value; }
}
}
}
|