TdsConnectionPool.GetConnectionPool()
svn path=/trunk/mcs/; revision=105432
+2008-06-10 Veerapuram Varadhan <vvaradhan@novell.com>
+
+ * SqlConnection.cs: TdsConnectionPool.GetConnectionPool() now returns
+ IDictionary<TKey, TValue>.
+
2008-06-09 Ankit Jain <jankit@novell.com>
* SqlCommand.cs: Use Tds instead of ITds now.
using System.Net.Sockets;
using System.Text;
using System.Xml;
+#if NET_2_0
+using System.Collections.Generic;
+#endif
namespace System.Data.SqlClient
{
public static void ClearAllPools ()
{
+#if NET_2_0
+ IDictionary <string, TdsConnectionPool> pools = SqlConnection.sqlConnectionPools.GetConnectionPool ();
+#else
Hashtable pools = SqlConnection.sqlConnectionPools.GetConnectionPool ();
+#endif
foreach (TdsConnectionPool pool in pools.Values) {
if (pool != null) {
pool.ResetConnectionPool ();