| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- //
- // System.Data.SqlClient.SqlRowUpdatingEventArgs.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 SqlRowUpdatingEventArgs : RowUpdatingEventArgs
- {
- #region Fields
- SqlCommand command;
- #endregion // Fields
- #region Constructors
- [MonoTODO]
- public SqlRowUpdatingEventArgs (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; }
- set { command = value; }
- }
- #endregion // Properties
- }
- }
|