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:
authorTim Coleman <tim@mono-cvs.ximian.com>2002-11-12 17:07:46 +0300
committerTim Coleman <tim@mono-cvs.ximian.com>2002-11-12 17:07:46 +0300
commitf207a8ecd660688909eb816cd06725cb13b79ed1 (patch)
treec7dd65d69e894ff5d513ebab9cab7aa6d52a820d /mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
parent010b734f71ca20585eb7aa231243fe8d84906ff9 (diff)
2002-11-12 Tim Coleman <tim@timcoleman.com>
* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs: * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs: Complete these classes * System.Data.Common/DbDataAdapter.cs: Experimental support for FillSchema () svn path=/trunk/mcs/; revision=8947
Diffstat (limited to 'mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs')
-rw-r--r--mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs12
1 files changed, 1 insertions, 11 deletions
diff --git a/mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs b/mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
index 43df84b02f0..eba30c3b553 100644
--- a/mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
+++ b/mcs/class/System.Data/System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
@@ -17,21 +17,11 @@ using System.Data.Common;
namespace System.Data.SqlClient {
public sealed class SqlRowUpdatedEventArgs : RowUpdatedEventArgs
{
- #region Fields
-
- SqlCommand command;
-
- #endregion // Fields
-
#region Constructors
- [MonoTODO]
public SqlRowUpdatedEventArgs (DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
: base (row, command, statementType, tableMapping)
{
- if (!(command is SqlCommand))
- throw new InvalidCastException ("Command is not a SqlCommand object.");
- this.command = (SqlCommand) command;
}
#endregion // Constructors
@@ -39,7 +29,7 @@ namespace System.Data.SqlClient {
#region Properties
public new SqlCommand Command {
- get { return command; }
+ get { return (SqlCommand) base.Command; }
}
#endregion // Properties