* OleDbParameter.cs: added missing attributes
authorUmadevi S <uma@mono-cvs.ximian.com>
Wed, 2 Jun 2004 06:13:15 +0000 (06:13 -0000)
committerUmadevi S <uma@mono-cvs.ximian.com>
Wed, 2 Jun 2004 06:13:15 +0000 (06:13 -0000)
       * OleDbPermission.cs: added missing attributes
       * OleDbConnection.cs: added missing attributes
       * OleDbDataAdapter.cs: added missing attributes

svn path=/trunk/mcs/; revision=28687

mcs/class/System.Data/System.Data.OleDb/ChangeLog
mcs/class/System.Data/System.Data.OleDb/OleDbConnection.cs
mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs
mcs/class/System.Data/System.Data.OleDb/OleDbParameter.cs
mcs/class/System.Data/System.Data.OleDb/OleDbPermission.cs

index 7b39d309b337f527b56d1845e06526ce2290556f..5584b1616c3309e57e41500094a07d5dea1d05ee 100644 (file)
@@ -1,3 +1,10 @@
+2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
+
+       * OleDbParameter.cs: added missing attributes
+       * OleDbPermission.cs: added missing attributes
+       * OleDbConnection.cs: added missing attributes
+       * OleDbDataAdapter.cs: added missing attributes
+
 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
 
        * OleDbDataReader.cs : don't output debug message to Console.
index 2785a05ea75097bcf101a58828e7fa8ce0035b3c..408c3295bb6a98f645d9040c00c30e572b5f7ef0 100644 (file)
@@ -292,7 +292,12 @@ namespace System.Data.OleDb
 
                #region Events and Delegates
 
+                [DataSysDescription ("DbConnection_InfoMessage")]
+                [DataCategory ("DataCategory_InfoMessage")]
                public event OleDbInfoMessageEventHandler InfoMessage;
+
+               [DataSysDescription ("DbConnection_StateChange")]
+                [DataCategory ("DataCategory_StateChange")]
                public event StateChangeEventHandler StateChange;
 
                #endregion
index 390975c530cf8eed077144ccf508fc47df87ceb8..aa98b558ff415457a29cc84c3cc0a438d7ed22bc 100644 (file)
@@ -228,7 +228,12 @@ namespace System.Data.OleDb
 
                #region Events and Delegates
 
+               [DataSysDescription ("DbDataAdapter_RowUpdated")]
+                [DataCategory ("DataCategory_Update")]
                public event OleDbRowUpdatedEventHandler RowUpdated;
+
+               [DataSysDescription ("DbDataAdapter_RowUpdating")]
+                [DataCategory ("DataCategory_Update")]
                public event OleDbRowUpdatingEventHandler RowUpdating;
 
                #endregion // Events and Delegates
index f779d48fb991c82ae8050e83993e05b223457dc1..b3e436dd2c8193738ab8fa8ff76d9ad0d5b12518 100644 (file)
@@ -99,6 +99,7 @@ namespace System.Data.OleDb
                [DataSysDescriptionAttribute ("The parameter generic type")]
                [RefreshPropertiesAttribute (RefreshProperties.All)]
                [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
+               [DataCategory ("DataCategory_Data")]
                public DbType DbType {
                        get { return dbType; }
                        set { 
@@ -108,6 +109,7 @@ namespace System.Data.OleDb
                }
                
                [DataSysDescriptionAttribute ("Input, output, or bidirectional parameter")]                         [DefaultValue (ParameterDirection.Input)]
+               [DataCategory ("DataCategory_Data")]
                public ParameterDirection Direction {
                        get { return direction; }
                        set { direction = value; }
@@ -126,6 +128,7 @@ namespace System.Data.OleDb
                [DefaultValue (OleDbType.VarWChar)]
                [DataSysDescriptionAttribute ("The parameter native type")]
                [RefreshPropertiesAttribute (RefreshProperties.All)]
+               [DataCategory ("DataCategory_Data")]
                public OleDbType OleDbType {
                        get { return oleDbType; }
                        set {
@@ -143,6 +146,7 @@ namespace System.Data.OleDb
 
                [DefaultValue (0)]
                 [DataSysDescriptionAttribute ("For decimal, numeric, varnumeric DBTypes")]
+               [DataCategory ("DataCategory_Data")]
                public byte Precision {
                        get { return precision; }
                        set { precision = value; }
@@ -150,6 +154,7 @@ namespace System.Data.OleDb
                
                [DefaultValue (0)]
                 [DataSysDescriptionAttribute ("For decimal, numeric, varnumeric DBTypes")]
+               [DataCategory ("DataCategory_Data")]
                public byte Scale {
                        get { return scale; }
                        set { scale = value; }
@@ -158,6 +163,7 @@ namespace System.Data.OleDb
 
                [DefaultValue (0)]
                 [DataSysDescriptionAttribute ("Size of variable length data types (string & arrays)")]
+               [DataCategory ("DataCategory_Data")]
                public int Size {
                        get { return size; }
                        set { size = value; }
@@ -165,6 +171,7 @@ namespace System.Data.OleDb
 
                [DefaultValue ("")]
                 [DataSysDescriptionAttribute ("When used by a DataAdapter.Update, the source column name that is used to find the DataSetColumn name in the ColumnMappings. This is to copy a value between the parameter and a datarow")]
+               [DataCategory ("DataCategory_Data")]
                public string SourceColumn {
                        get { return sourceColumn; }
                        set { sourceColumn = value; }
@@ -172,6 +179,7 @@ namespace System.Data.OleDb
                
                [DefaultValue (DataRowVersion.Current)]
                 [DataSysDescriptionAttribute ("When used by a DataAdapter.Update(UpdateCommand only), the version of the DataRow value that is used to update the data source")]
+               [DataCategory ("DataCategory_Data")]
                public DataRowVersion SourceVersion {
                        get { return sourceVersion; }
                        set { sourceVersion = value; }
@@ -180,6 +188,7 @@ namespace System.Data.OleDb
                [DefaultValue (null)]
                 [DataSysDescriptionAttribute ("value of the parameter")]
                [TypeConverter (typeof (StringConverter))]
+               [DataCategory ("DataCategory_Data")]
                public object Value {
                        get { return value; }
                        set { this.value = value; }
index b442ba99d0094e1bf0749835ac21fbb8960e4564..2a6a9456df516de0b7c5add5f6feef1b16c8d38e 100644 (file)
@@ -22,6 +22,10 @@ namespace System.Data.OleDb
                #region Constructors
 
                [MonoTODO]
+#if NET_1_1
+                [Obsolete ("use OleDbPermission(PermissionState.None)", true)]
+#endif
+
                public OleDbPermission () : base (PermissionState.None)
                {
                        throw new NotImplementedException ();
@@ -35,6 +39,9 @@ namespace System.Data.OleDb
                }
 
                [MonoTODO]
+#if NET_1_1
+                [Obsolete ("use OleDbPermission(PermissionState.None)", true)]
+#endif
                public OleDbPermission (PermissionState state, bool allowBlankPassword)
                        : base (state, allowBlankPassword, true)
                {