|
|
@@ -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
|