Author: suresh
Date: 2005-03-02 09:39:48 -0500 (Wed, 02 Mar 2005)
New Revision: 41359

Modified:
   trunk/mcs/class/System/System.Configuration/ChangeLog
   trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
Log:
2005-03-02  Sureshkumar T  <[EMAIL PROTECTED]>

        * ConfigurationSettings.cs: Implemented ConnectionStrings
        property.



Modified: trunk/mcs/class/System/System.Configuration/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Configuration/ChangeLog       2005-03-02 
13:51:18 UTC (rev 41358)
+++ trunk/mcs/class/System/System.Configuration/ChangeLog       2005-03-02 
14:39:48 UTC (rev 41359)
@@ -1,3 +1,8 @@
+2005-03-02  Sureshkumar T  <[EMAIL PROTECTED]>
+
+       * ConfigurationSettings.cs: Implemented ConnectionStrings
+       property.
+
 2005-02-22  Sureshkumar T  <[EMAIL PROTECTED]>
 
        * ConnectionStringsSection.cs: Implemented all methods.

Modified: trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs
===================================================================
--- trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs        
2005-03-02 13:51:18 UTC (rev 41358)
+++ trunk/mcs/class/System/System.Configuration/ConfigurationSettings.cs        
2005-03-02 14:39:48 UTC (rev 41359)
@@ -73,6 +73,24 @@
                        }
                }
 
+#if NET_2_0
+                public static ConnectionStringSettingsCollection 
ConnectionStrings
+               {
+                       get {
+                                ConnectionStringsSection connSection = 
(ConnectionStringsSection) GetConfig ("connectionStrings");
+                                ConnectionStringSettingsCollection 
connectionStrings = null;
+                                
+                                if (connSection != null)
+                                        connectionStrings = 
connSection.ConnectionStrings;
+                                else 
+                                        connectionStrings = new 
ConnectionStringSettingsCollection ();
+                                
+                               return connectionStrings;
+                       }
+               }
+
+#endif // NET_2_0
+
                // Invoked from System.Web
                static IConfigurationSystem ChangeConfigurationSystem 
(IConfigurationSystem newSystem)
                {

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to