RowUpdatedEventArgs 类

定义

为 .NET Framework 数据提供程序的 RowUpdated 事件提供数据。Provides data for the RowUpdated event of a .NET Framework data provider.

public ref class RowUpdatedEventArgs : EventArgs
public class RowUpdatedEventArgs : EventArgs
type RowUpdatedEventArgs = class
    inherit EventArgs
Public Class RowUpdatedEventArgs
Inherits EventArgs
继承
RowUpdatedEventArgs
派生

注解

当完成行时RowUpdated ,通常会引发事件消息。UpdateThe RowUpdated event message is typically raised when an Update to a row is completed.

构造函数

RowUpdatedEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)

初始化 RowUpdatedEventArgs 类的新实例。Initializes a new instance of the RowUpdatedEventArgs class.

属性

Command

调用 Update(DataSet) 时执行的 IDbCommandGets the IDbCommand executed when Update(DataSet) is called.

Errors

获取当 Command 执行时 .NET Framework 数据提供程序生成的任何错误。Gets any errors generated by the .NET Framework data provider when the Command was executed.

RecordsAffected

通过执行 SQL 语句获取更改、插入或删除的行数。Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.

Row

获取通过 Update(DataSet) 发送的 DataRowGets the DataRow sent through an Update(DataSet).

RowCount

获取在一批更新记录中处理的行数。Gets the number of rows processed in a batch of updated records.

StatementType

获取所执行的 SQL 语句的类型。Gets the type of SQL statement executed.

Status

获取 Command 属性的 UpdateStatusGets the UpdateStatus of the Command property.

TableMapping

获取通过 Update(DataSet) 发送的 DataTableMappingGets the DataTableMapping sent through an Update(DataSet).

方法

CopyToRows(DataRow[])

将已修改的行的引用复制到提供的数组中。Copies references to the modified rows into the provided array.

CopyToRows(DataRow[], Int32)

将已修改的行的引用复制到提供的数组中。Copies references to the modified rows into the provided array.

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅