RowUpdatedEventArgs 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 .NET 数据提供程序的 RowUpdated 事件提供数据。
public ref class RowUpdatedEventArgs : EventArgs
public ref class RowUpdatedEventArgs abstract : EventArgs
public class RowUpdatedEventArgs : EventArgs
public abstract class RowUpdatedEventArgs : EventArgs
type RowUpdatedEventArgs = class
inherit EventArgs
Public Class RowUpdatedEventArgs
Inherits EventArgs
Public MustInherit Class RowUpdatedEventArgs
Inherits EventArgs
- 继承
- 派生
注解
当 RowUpdated 完成到行时 Update ,通常会引发事件消息。
构造函数
| RowUpdatedEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping) |
初始化 RowUpdatedEventArgs 类的新实例。 |
属性
| Command |
调用 Update(DataSet) 时执行的 IDbCommand。 |
| Errors |
获取当 Command 执行时 .NET 数据提供程序生成的任何错误。 |
| RecordsAffected |
通过执行 SQL 语句获取更改、插入或删除的行数。 |
| Row |
获取通过 Update(DataSet) 发送的 DataRow。 |
| RowCount |
获取在一批更新记录中处理的行数。 |
| StatementType |
获取所执行的 SQL 语句的类型。 |
| Status |
获取 Command 属性的 UpdateStatus。 |
| TableMapping |
获取通过 Update(DataSet) 发送的 DataTableMapping。 |
方法
| CopyToRows(DataRow[], Int32) |
将已修改的行的引用复制到提供的数组中。 |
| CopyToRows(DataRow[]) |
将已修改的行的引用复制到提供的数组中。 |
| Equals(Object) |
确定指定对象是否等于当前对象。 (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。 (继承自 Object) |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |