2 // System.Data.Common.RowUpdatedEventArgs.cs
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Tim Coleman (tim@timcoleman.com)
9 // Copyright (C) Tim Coleman, 2002
14 namespace System.Data.Common {
15 public abstract class RowUpdatedEventArgs : EventArgs
21 StatementType statementType;
22 DataTableMapping tableMapping;
32 protected RowUpdatedEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
34 this.dataRow = dataRow;
35 this.command = command;
36 this.statementType = statementType;
37 this.tableMapping = tableMapping;
39 this.status = UpdateStatus.Continue;
40 this.recordsAffected = 0; // FIXME
43 #endregion // Constructors
48 public IDbCommand Command {
49 get { return command; }
53 public Exception Errors {
54 get { return errors; }
55 set { errors = value; }
59 public int RecordsAffected {
60 get { return recordsAffected; }
65 get { return dataRow; }
69 public StatementType StatementType {
70 get { return statementType; }
74 public UpdateStatus Status {
75 get { return status; }
76 set { status = value; }
80 public DataTableMapping TableMapping {
81 get { return tableMapping; }
84 #endregion // Properties