I believe there is a bug in ConnectionFactories.cs and
DataAdapterFactories.cs when a ConfigSection prefix is
specified.
Since the property ConfigSection delegates to
FactoriesHelper.ConfigSection, the section prefix is
being added twice in the LoadFromConfig method.
static private void LoadFromConfig() {
FactoriesHelper.LoadFromConfig(_factories,
typeof(IDbConnectionFactory), ConfigSection +
ConnectionFactoriesSectionName);
}
Since ConfigSection is being prepending in
ConnectionFactories and DataAdapterFactories and it is
also being prepending in FactoriesHelper,
object configF = ConfigurationSettings.
GetConfig(ConfigSection + sectionName);
the prefix is being added twice which presents it from
being resolved.
thanks,
Craig