[corlib] Fixes security tests failures
[mono.git] / mcs / class / System.Data / System.Data.OleDb / OleDbRowUpdatingEventArgs.cs
index 8a61324c67d062605c35e66f7bfa5de4899d29ea..a0dea352b57ac0182204ae312b668e6b6da6fd22 100644 (file)
@@ -39,20 +39,11 @@ namespace System.Data.OleDb
 {
        public sealed class OleDbRowUpdatingEventArgs : RowUpdatingEventArgs
        {
-
-               #region Fields
-
-               OleDbCommand command = null;
-
-               #endregion
-
                #region Constructors
 
                public OleDbRowUpdatingEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
                        : base (dataRow, command, statementType, tableMapping)
-
                {
-                       
                }
 
                #endregion
@@ -61,8 +52,16 @@ namespace System.Data.OleDb
                
                public new OleDbCommand Command {
                        get { return (OleDbCommand) base.Command; }
-                        set { base.Command = value; }
+                       set { base.Command = value; }
+               }
 
+               protected override IDbCommand BaseCommand {
+                       get {
+                               return base.BaseCommand;
+                       }
+                       set {
+                               base.BaseCommand = value;
+                       }
                }
 
                #endregion