Files
mono/mcs/class/System.Data/System.Data.Common/RowUpdatedEventArgs.cs
T
Umadevi S 684e6c4007 2004-03-09 Umadevi S ([email protected])
* RowUpdatedEventArgs.cs - Removed MonoTODO tags

svn path=/trunk/mcs/; revision=23826
2004-03-09 10:38:23 +00:00

80 lines
1.5 KiB
C#

//
// System.Data.Common.RowUpdatedEventArgs.cs
//
// Author:
// Rodrigo Moya ([email protected])
// Tim Coleman ([email protected])
//
// (C) Ximian, Inc
// Copyright (C) Tim Coleman, 2002
//
using System.Data;
namespace System.Data.Common {
public abstract class RowUpdatedEventArgs : EventArgs
{
#region Fields
DataRow dataRow;
IDbCommand command;
StatementType statementType;
DataTableMapping tableMapping;
Exception errors;
UpdateStatus status;
int recordsAffected;
#endregion // Fields
#region Constructors
[MonoTODO]
protected RowUpdatedEventArgs (DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
{
this.dataRow = dataRow;
this.command = command;
this.statementType = statementType;
this.tableMapping = tableMapping;
this.errors = null;
this.status = UpdateStatus.Continue;
this.recordsAffected = 0; // FIXME
}
#endregion // Constructors
#region Properties
public IDbCommand Command {
get { return command; }
}
public Exception Errors {
get { return errors; }
set { errors = value; }
}
public int RecordsAffected {
get { return recordsAffected; }
}
public DataRow Row {
get { return dataRow; }
}
public StatementType StatementType {
get { return statementType; }
}
public UpdateStatus Status {
get { return status; }
set { status = value; }
}
public DataTableMapping TableMapping {
get { return tableMapping; }
}
#endregion // Properties
}
}