using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Configuration; namespace WMS.IData { /// /// 返回一个数据层的一个提供者 /// public class DataProviderSection : ConfigurationSection { /// /// 返回数据提供者节 /// [ConfigurationProperty("providers")] public ProviderSettingsCollection Providers { get { return (ProviderSettingsCollection)base["providers"]; } } /// /// 获取默认的数据提供者 /// [ConfigurationProperty("defaultProvider")] public string DefaultProvider { get { return (string)base["defaultProvider"]; } set { base["defaultProvider"] = value; } } } }