Author: marek
Date: 2007-10-08 09:33:44 -0400 (Mon, 08 Oct 2007)
New Revision: 87092

Modified:
   trunk/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
   trunk/mcs/class/System.Data/System.Data.SqlClient/SqlParameterCollection.cs
Log:
2007-10-08  Marek Safar <[EMAIL PROTECTED]> 

        * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
        


Modified: trunk/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
===================================================================
--- trunk/mcs/class/System.Data/System.Data.SqlClient/ChangeLog 2007-10-08 
13:20:07 UTC (rev 87091)
+++ trunk/mcs/class/System.Data/System.Data.SqlClient/ChangeLog 2007-10-08 
13:33:44 UTC (rev 87092)
@@ -1,3 +1,7 @@
+2007-10-08  Marek Safar <[EMAIL PROTECTED]> 
+
+       * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
+       
 2007-09-27  Nagappan A <[EMAIL PROTECTED]> 
 
        * SqlConnection.cs: Added MonoTODO appropriately.

Modified: 
trunk/mcs/class/System.Data/System.Data.SqlClient/SqlParameterCollection.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data.SqlClient/SqlParameterCollection.cs 
2007-10-08 13:20:07 UTC (rev 87091)
+++ trunk/mcs/class/System.Data/System.Data.SqlClient/SqlParameterCollection.cs 
2007-10-08 13:33:44 UTC (rev 87092)
@@ -166,11 +166,11 @@
        
                protected  override void SetParameter (int index, DbParameter 
value)
                {
-                       this [index] = value;
+                       this [index] = (SqlParameter) value;
                 }
                protected override void SetParameter (string parameterName, 
DbParameter value)
                {
-                       this [parameterName] = value;
+                       this [parameterName] = (SqlParameter) value;
                 }
 #endif
                object IList.this [int index] {

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

Reply via email to