2 // System.Data.Common.RowUpdatingEventArgs.cs
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Tim Coleman (tim@timcoleman.com)
9 // Copyright (C) Tim Coleman, 2002
12 namespace System.Data.Common {
13 public abstract class RowUpdatingEventArgs : EventArgs
19 StatementType statementType;
20 DataTableMapping tableMapping;
28 protected RowUpdatingEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
30 this.dataRow = dataRow;
31 this.command = command;
32 this.statementType = statementType;
33 this.tableMapping = tableMapping;
34 this.status = UpdateStatus.Continue;
38 #endregion // Constructors
42 public IDbCommand Command {
43 get { return command; }
44 set { command = value; }
47 public Exception Errors {
48 get { return errors; }
49 set { errors = value; }
53 get { return dataRow; }
56 public StatementType StatementType {
57 get { return statementType; }
60 public UpdateStatus Status {
61 get { return status; }
62 set { status = value; }
65 public DataTableMapping TableMapping {
66 get { return tableMapping; }
69 #endregion // Properties