SqlRowUpdatingEventArgs.cs 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // System.Data.SqlClient.SqlRowUpdatingEventArgs.cs
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Daniel Morgan ([email protected])
  7. // Tim Coleman ([email protected])
  8. //
  9. // (C) Ximian, Inc 2002
  10. // Copyright (C) Tim Coleman, 2002
  11. //
  12. using System;
  13. using System.Data;
  14. using System.Data.Common;
  15. namespace System.Data.SqlClient {
  16. public sealed class SqlRowUpdatingEventArgs : RowUpdatingEventArgs
  17. {
  18. #region Fields
  19. SqlCommand command = null;
  20. #endregion // Fields
  21. #region Constructors
  22. [MonoTODO]
  23. public SqlRowUpdatingEventArgs (DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
  24. : base (row, command, statementType, tableMapping)
  25. {
  26. if (command != null)
  27. this.command = (SqlCommand) command;
  28. }
  29. #endregion // Constructors
  30. #region Properties
  31. public new SqlCommand Command {
  32. get { return (SqlCommand) base.Command; }
  33. set { base.Command = value; }
  34. }
  35. #endregion // Properties
  36. }
  37. }