Author: kostat
Date: 2006-12-17 09:56:38 -0500 (Sun, 17 Dec 2006)
New Revision: 69602
Modified:
trunk/mcs/class/System.Data/System.Data.SqlClient.jvm/SqlParameter.cs
Log:
Add missing 2.0 ctor
Modified: trunk/mcs/class/System.Data/System.Data.SqlClient.jvm/SqlParameter.cs
===================================================================
--- trunk/mcs/class/System.Data/System.Data.SqlClient.jvm/SqlParameter.cs
2006-12-17 13:58:42 UTC (rev 69601)
+++ trunk/mcs/class/System.Data/System.Data.SqlClient.jvm/SqlParameter.cs
2006-12-17 14:56:38 UTC (rev 69602)
@@ -90,7 +90,27 @@
{
}
- public SqlParameter(
+#if NET_2_0
+ public SqlParameter (
+ string parameterName,
+ SqlDbType dbType,
+ int size,
+ ParameterDirection direction,
+ byte precision,
+ byte scale,
+ string sourceColumn,
+ DataRowVersion sourceVersion,
+ bool sourceColumnNullMapping,
+ Object value,
+ string xmlSchemaCollectionDatabase,
+ string xmlSchemaCollectionOwningSchema,
+ string xmlSchemaCollectionName
+ ) : this (parameterName, dbType, size, direction,
sourceColumnNullMapping, precision, scale, sourceColumn, sourceVersion, value,
true)
+ {
+ }
+#endif
+
+ SqlParameter(
String parameterName,
SqlDbType dbType,
int size,
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches