diff options
author | Umadevi S <uma@mono-cvs.ximian.com> | 2004-05-14 16:11:14 +0400 |
---|---|---|
committer | Umadevi S <uma@mono-cvs.ximian.com> | 2004-05-14 16:11:14 +0400 |
commit | cbefdb98c269c09084ad0ae8feafe6472c1ec9f3 (patch) | |
tree | fd3207067c481e290352427cdea799ed131c2402 /mcs/class | |
parent | 82078d04eb5fcf9cbaae9049a0424f1d57e1b9c8 (diff) |
*** empty log message ***
svn path=/trunk/mcs/; revision=27393
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/System.Data/System.Data.Odbc/ChangeLog | 3 | ||||
-rwxr-xr-x | mcs/class/System.Data/System.Data.Odbc/OdbcDataAdapter.cs | 22 |
2 files changed, 17 insertions, 8 deletions
diff --git a/mcs/class/System.Data/System.Data.Odbc/ChangeLog b/mcs/class/System.Data/System.Data.Odbc/ChangeLog index c0373b9e196..62f05269978 100644 --- a/mcs/class/System.Data/System.Data.Odbc/ChangeLog +++ b/mcs/class/System.Data/System.Data.Odbc/ChangeLog @@ -1,4 +1,7 @@ 2004-05-14 Umadevi S (sumadevi@novell.com) + * OdbcDataAdapter.cs - Added Attributes + +2004-05-14 Umadevi S (sumadevi@novell.com) * OdbcConnection.cs - Added Attributes 2004-05-14 Umadevi S (sumadevi@novell.com) diff --git a/mcs/class/System.Data/System.Data.Odbc/OdbcDataAdapter.cs b/mcs/class/System.Data/System.Data.Odbc/OdbcDataAdapter.cs index fd4c4c5dd08..a8ddcc9a622 100755 --- a/mcs/class/System.Data/System.Data.Odbc/OdbcDataAdapter.cs +++ b/mcs/class/System.Data/System.Data.Odbc/OdbcDataAdapter.cs @@ -17,6 +17,8 @@ using System.Data.Common; namespace System.Data.Odbc { [DefaultEvent ("RowUpdated")] + [DesignerAttribute ("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterDesigner, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.ComponentModel.Design.IDesigner")] + [ToolboxItemAttribute ("Microsoft.VSDesigner.Data.VS.OdbcDataAdapterToolboxItem, "+ Consts.AssemblyMicrosoft_VSDesigner)] public sealed class OdbcDataAdapter : DbDataAdapter, IDbDataAdapter { #region Fields @@ -58,33 +60,37 @@ namespace System.Data.Odbc { #region Properties - [DataCategory ("Update")] - [DataSysDescription ("Used during Update for deleted rows in DataSet.")] + [OdbcCategory ("Update")] + [OdbcDescription ("Used during Update for deleted rows in DataSet.")] [DefaultValue (null)] + [EditorAttribute ("Microsoft.VSDesigner.Data.Design.DBCommandEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] public OdbcCommand DeleteCommand { get { return deleteCommand; } set { deleteCommand = value; } } - [DataCategory ("Update")] - [DataSysDescription ("Used during Update for new rows in DataSet.")] + [OdbcCategory ("Update")] + [OdbcDescription ("Used during Update for new rows in DataSet.")] [DefaultValue (null)] + [EditorAttribute ("Microsoft.VSDesigner.Data.Design.DBCommandEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] public OdbcCommand InsertCommand { get { return insertCommand; } set { insertCommand = value; } } - [DataCategory ("Fill")] - [DataSysDescription ("Used during Fill/FillSchema.")] + [OdbcCategory ("Fill")] + [OdbcDescription ("Used during Fill/FillSchema.")] [DefaultValue (null)] + [EditorAttribute ("Microsoft.VSDesigner.Data.Design.DBCommandEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] public OdbcCommand SelectCommand { get { return selectCommand; } set { selectCommand = value; } } - [DataCategory ("Update")] - [DataSysDescription ("Used during Update for modified rows in DataSet.")] + [OdbcCategory ("Update")] + [OdbcDescription ("Used during Update for modified rows in DataSet.")] [DefaultValue (null)] + [EditorAttribute ("Microsoft.VSDesigner.Data.Design.DBCommandEditor, "+ Consts.AssemblyMicrosoft_VSDesigner, "System.Drawing.Design.UITypeEditor, "+ Consts.AssemblySystem_Drawing )] public OdbcCommand UpdateCommand { get { return updateCommand; } set { updateCommand = value; } |