public void LoadConfig(DatabaseConfigurationSection configuration)
        {
            if (configuration == null)
            {
                return;
            }

            foreach (ProviderElement element in configuration.Providers)
            {
                if (element.Builder != null)
                {
                    _sqlbuilderInstances[element.Name] = (ISqlBuilder)Activator.CreateInstance(element.Builder.Type);
                }

                if (element.Database != null)
                {
                    _databaseTypes[element.Name] = element.Database.Type;
                }
            }
        }
        public void LoadConfig()
        {
            var configuration = DatabaseConfigurationSection.GetSection();

            LoadConfig(configuration);
        }
 public DatabaseSettings(DatabaseConfigurationSection configuration)
     : this()
 {
     LoadConfig(configuration);
 }