Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas N <andreas@mono-cvs.ximian.com>2004-03-12 19:08:54 +0300
committerAndreas N <andreas@mono-cvs.ximian.com>2004-03-12 19:08:54 +0300
commit497ec0acb8f963453db631f07602345822c29aec (patch)
tree442e0bc410b497f9ab8d629da32cdcc2daaea0f5 /mcs/class/System.Data/System.Data.SqlClient
parentc946a0cebc58b896b572b85925614148f44fe4d4 (diff)
2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
* SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly! svn path=/trunk/mcs/; revision=23960
Diffstat (limited to 'mcs/class/System.Data/System.Data.SqlClient')
-rwxr-xr-xmcs/class/System.Data/System.Data.SqlClient/ChangeLog4
-rw-r--r--mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs4
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/System.Data/System.Data.SqlClient/ChangeLog b/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
index 6b03f50d700..a77fc3255a4 100755
--- a/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
+++ b/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
+
+ * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
+
2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
* SqlClientPermission.cs : Fixed NET_1_2 build related to
diff --git a/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs b/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs
index 01b15bd0fe6..3446014b2e3 100644
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs
@@ -21,7 +21,7 @@ using System.Runtime.InteropServices;
using System.Text;
namespace System.Data.SqlClient {
- [TypeConverterAttribute ("System.Data.SqlClient.SqlParameterConverter, "+ Consts.AssemblySystem_Data)]
+ [TypeConverterAttribute (typeof (SqlParameterConverter))]
public sealed class SqlParameter : MarshalByRefObject, IDbDataParameter, IDataParameter, ICloneable
{
#region Fields
@@ -252,7 +252,7 @@ namespace System.Data.SqlClient {
[DataCategory ("Data")]
[DataSysDescription ("Value of the parameter.")]
[DefaultValue (null)]
- [TypeConverterAttribute ("System.ComponentModel.StringConverter, "+ Consts.AssemblySystem)]
+ [TypeConverterAttribute (typeof (StringConverter))]
public object Value {
get { return metaParameter.Value; }
set {