| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- //
- // System.Data.SqlClient.SqlRowUpdatedEventArgs.cs
- //
- // Author:
- // Rodrigo Moya ([email protected])
- // Daniel Morgan ([email protected])
- // Tim Coleman ([email protected])
- //
- // (C) Ximian, Inc 2002
- // Copyright (C) Tim Coleman, 2002
- //
- using System;
- using System.Data;
- 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
- #region Properties
- public new SqlCommand Command {
- get { return command; }
- }
- #endregion // Properties
- }
- }
|