Last post Jun 22, 2012 10:38 AM by filhodapuc
May 03, 2010 02:34 PM|Lightning Strikes|LINK
I've been using the DatabaseConfigurationView and FileConfigurationSource classes to read connection strings from a separate file than app/web.config. I moved to 5.0 and the DatabaseConfigurationView class seems to have been taken away and I haven't been
able to find a replacement to reimplement my functionality. Any help?
Jun 22, 2012 10:38 AM|filhodapuc|LINK
I need the answer for this question as well.. I have upgraded the EnterpriseLibrary to 5.0 and i have the following piece of code that doesn't build anymore.. what's the equivalent for that?
DatabaseConfigurationView dcv = new DatabaseConfigurationView(new ConfigurationContext(AppDomain.CurrentDomain.BaseDirectory + "Config\\dataConfiguration.config"));
InstanceDataCollection idc = dcv.GetDatabaseSettings().Instances;