mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* RowUpdatedEventArgs.cs - Removed MonoTODO tags svn path=/trunk/mcs/; revision=23826
80 lines
1.5 KiB
C#
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
|
|
}
|
|
}
|