diff options
author | Umadevi S <uma@mono-cvs.ximian.com> | 2004-06-02 10:13:15 +0400 |
---|---|---|
committer | Umadevi S <uma@mono-cvs.ximian.com> | 2004-06-02 10:13:15 +0400 |
commit | 09f0d5500b1d4fa20a2ad0cf1f57fcc669e01ede (patch) | |
tree | b7c3c7006efabfdc5074162c047e80a988141ae3 /mcs/class/System.Data/System.Data.OleDb | |
parent | 91c45adb658bf99592cc0795f30e8f78af5f55bc (diff) |
* OleDbParameter.cs: added missing attributes
* OleDbPermission.cs: added missing attributes
* OleDbConnection.cs: added missing attributes
* OleDbDataAdapter.cs: added missing attributes
svn path=/trunk/mcs/; revision=28687
Diffstat (limited to 'mcs/class/System.Data/System.Data.OleDb')
5 files changed, 33 insertions, 0 deletions
diff --git a/mcs/class/System.Data/System.Data.OleDb/ChangeLog b/mcs/class/System.Data/System.Data.OleDb/ChangeLog index 7b39d309b33..5584b1616c3 100644 --- a/mcs/class/System.Data/System.Data.OleDb/ChangeLog +++ b/mcs/class/System.Data/System.Data.OleDb/ChangeLog @@ -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. diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbConnection.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbConnection.cs index 2785a05ea75..408c3295bb6 100644 --- a/mcs/class/System.Data/System.Data.OleDb/OleDbConnection.cs +++ b/mcs/class/System.Data/System.Data.OleDb/OleDbConnection.cs @@ -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 diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs index 390975c530c..aa98b558ff4 100644 --- a/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs +++ b/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs @@ -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 diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbParameter.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbParameter.cs index f779d48fb99..b3e436dd2c8 100644 --- a/mcs/class/System.Data/System.Data.OleDb/OleDbParameter.cs +++ b/mcs/class/System.Data/System.Data.OleDb/OleDbParameter.cs @@ -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; } diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbPermission.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbPermission.cs index b442ba99d00..2a6a9456df5 100644 --- a/mcs/class/System.Data/System.Data.OleDb/OleDbPermission.cs +++ b/mcs/class/System.Data/System.Data.OleDb/OleDbPermission.cs @@ -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) { |