diff options
Diffstat (limited to 'mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs')
-rw-r--r-- | mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs index da3d6394b43..bed0b6aeb55 100644 --- a/mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs +++ b/mcs/class/System.Data/System.Data.OleDb/OleDbCommand.cs @@ -40,6 +40,7 @@ using System.Runtime.InteropServices; #if NET_2_0 using System.Data.ProviderBase; +using System.Data; #endif namespace System.Data.OleDb @@ -112,9 +113,7 @@ namespace System.Data.OleDb [DataCategory ("Data")] [DefaultValue ("")] -#if !NET_2_0 [DataSysDescriptionAttribute ("Command text to execute.")] -#endif [EditorAttribute ("Microsoft.VSDesigner.Data.ADO.Design.OleDbCommandTextEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] [RefreshPropertiesAttribute (RefreshProperties.All)] public string CommandText @@ -127,9 +126,7 @@ namespace System.Data.OleDb } } -#if !NET_2_0 [DataSysDescriptionAttribute ("Time to wait for command to execute.")] -#endif [DefaultValue (30)] public int CommandTimeout { get { @@ -142,9 +139,7 @@ namespace System.Data.OleDb [DataCategory ("Data")] [DefaultValue ("Text")] -#if !NET_2_0 [DataSysDescriptionAttribute ("How to interpret the CommandText.")] -#endif [RefreshPropertiesAttribute (RefreshProperties.All)] public CommandType CommandType { get { @@ -156,9 +151,7 @@ namespace System.Data.OleDb } [DataCategory ("Behavior")] -#if !NET_2_0 [DataSysDescriptionAttribute ("Connection used by the command.")] -#endif [DefaultValue (null)] [EditorAttribute ("Microsoft.VSDesigner.Data.Design.DbConnectionEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] public OleDbConnection Connection { @@ -183,9 +176,7 @@ namespace System.Data.OleDb } [DataCategory ("Data")] -#if !NET_2_0 [DataSysDescriptionAttribute ("The parameters collection.")] -#endif [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Content)] public OleDbParameterCollection Parameters { get { @@ -194,9 +185,7 @@ namespace System.Data.OleDb } [BrowsableAttribute (false)] -#if !NET_2_0 [DataSysDescriptionAttribute ("The transaction used by the command.")] -#endif [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)] public OleDbTransaction Transaction { get { @@ -209,9 +198,7 @@ namespace System.Data.OleDb [DataCategory ("Behavior")] [DefaultValue (UpdateRowSource.Both)] -#if !NET_2_0 [DataSysDescriptionAttribute ("When used by a DataAdapter.Update, how command results are applied to the current DataRow.")] -#endif public UpdateRowSource UpdatedRowSource { [MonoTODO] get { |