/// <summary>
        /// Reads the DbResourceProvider Configuration Section and assigns the values
        /// to the properties of this class
        /// </summary>
        /// <returns></returns>
        public bool ReadConfigurationSection()
        {
            object TSection = null;

            TSection = WebConfigurationManager.GetWebApplicationSection("DbResourceProvider");
            if (TSection == null)
            {
                return(false);
            }

            DbResourceProviderSection Section = TSection as DbResourceProviderSection;

            this.ReadSectionValues(Section);

            return(true);
        }
 /// <summary>
 /// Reads the actual section values
 /// </summary>
 /// <param name="Section"></param>
 private void ReadSectionValues(DbResourceProviderSection Section)
 {
     this.ConnectionString = Section.ConnectionString;
     this.AddMissingResources = Section.AddMissingResources;
 }
 /// <summary>
 /// Reads the actual section values
 /// </summary>
 /// <param name="Section"></param>
 private void ReadSectionValues(DbResourceProviderSection Section)
 {
     this.ConnectionString    = Section.ConnectionString;
     this.AddMissingResources = Section.AddMissingResources;
 }