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:
authorUmadevi S <uma@mono-cvs.ximian.com>2004-03-18 07:53:05 +0300
committerUmadevi S <uma@mono-cvs.ximian.com>2004-03-18 07:53:05 +0300
commit65276a310e138f38a47d940010130ad86315f862 (patch)
tree6723ab5091a2b7381661f4bca9ca5ca13230db90 /mcs/class/System.Data/System.Data.OleDb
parent0b1cf9579e5eef0036baef4d1c22f2f6c3e24eca (diff)
2004-03-17 Umadevi S (sumadevi@novell.com)
* Changed constructors and Command method for OleDbRowUpdatingEventArgs and OleDbRowUpdtedEventArgs classes svn path=/trunk/mcs/; revision=24268
Diffstat (limited to 'mcs/class/System.Data/System.Data.OleDb')
-rw-r--r--mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatedEventArgs.cs5
-rw-r--r--mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatingEventArgs.cs9
2 files changed, 5 insertions, 9 deletions
diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatedEventArgs.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatedEventArgs.cs
index 036e31bfaad..3f283cb476e 100644
--- a/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatedEventArgs.cs
+++ b/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatedEventArgs.cs
@@ -24,13 +24,10 @@ namespace System.Data.OleDb
#region Constructors
- [MonoTODO]
public OleDbRowUpdatedEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
: base (dataRow, command, statementType, tableMapping)
{
- this.command = (OleDbCommand) command;
- throw new NotImplementedException ();
}
#endregion // Constructors
@@ -38,7 +35,7 @@ namespace System.Data.OleDb
#region Properties
public new OleDbCommand Command {
- get { return command; }
+ get { return (OleDbCommand) base.Command; }
}
#endregion // Properties
diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatingEventArgs.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatingEventArgs.cs
index 8cf9aedafd2..303a044cee2 100644
--- a/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatingEventArgs.cs
+++ b/mcs/class/System.Data/System.Data.OleDb/OleDbRowUpdatingEventArgs.cs
@@ -25,13 +25,11 @@ namespace System.Data.OleDb
#region Constructors
- [MonoTODO]
public OleDbRowUpdatingEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
: base (dataRow, command, statementType, tableMapping)
{
- this.command = (OleDbCommand) command;
- throw new NotImplementedException ();
+
}
#endregion
@@ -39,8 +37,9 @@ namespace System.Data.OleDb
#region Properties
public new OleDbCommand Command {
- get { return command; }
- set { command = value; }
+ get { return (OleDbCommand) base.Command; }
+ set { base.Command = value; }
+
}
#endregion