OdbcRowUpdatedEventArgs 类    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为 RowUpdated 事件提供数据。
public ref class OdbcRowUpdatedEventArgs sealed : System::Data::Common::RowUpdatedEventArgspublic sealed class OdbcRowUpdatedEventArgs : System.Data.Common.RowUpdatedEventArgstype OdbcRowUpdatedEventArgs = class
    inherit RowUpdatedEventArgsPublic NotInheritable Class OdbcRowUpdatedEventArgs
Inherits RowUpdatedEventArgs- 继承
注解
完成 RowUpdated 对行的更新时,将引发 该事件。
使用 Update 方法时,更新的每个数据行都会发生两个事件: RowUpdating 和 RowUpdated。 的执行 Update 顺序如下:
- 中的 DataRow 值将移动到参数值。 
- 引发 OnRowUpdating 事件。 
- 命令执行。 
- 如果命令设置为 FirstReturnedRecord,则返回的第一个结果将放在 中 DataRow。 
- 如果有输出参数,则它们放置在 中 DataRow。 
- 引发 OnRowUpdated 事件。 
- 调用 AcceptChanges。 
构造函数
| OdbcRowUpdatedEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping) | 初始化 OdbcRowUpdatedEventArgs 类的新实例。 | 
属性
| Command | 调用 Update(DataSet) 时执行的 OdbcCommand。 | 
| Errors | 获取当 Command 执行时 .NET 数据提供程序生成的任何错误。(继承自 RowUpdatedEventArgs) | 
| RecordsAffected | 通过执行 SQL 语句获取更改、插入或删除的行数。(继承自 RowUpdatedEventArgs) | 
| Row | 获取通过 Update(DataSet) 发送的 DataRow。(继承自 RowUpdatedEventArgs) | 
| RowCount | 获取在一批更新记录中处理的行数。(继承自 RowUpdatedEventArgs) | 
| StatementType | 获取所执行的 SQL 语句的类型。(继承自 RowUpdatedEventArgs) | 
| Status | 获取 Command 属性的 UpdateStatus。(继承自 RowUpdatedEventArgs) | 
| TableMapping | 获取通过 Update(DataSet) 发送的 DataTableMapping。(继承自 RowUpdatedEventArgs) | 
方法
| CopyToRows(DataRow[], Int32) | 将已修改的行的引用复制到提供的数组中。(继承自 RowUpdatedEventArgs) | 
| CopyToRows(DataRow[]) | 将已修改的行的引用复制到提供的数组中。(继承自 RowUpdatedEventArgs) | 
| Equals(Object) | 确定指定对象是否等于当前对象。(继承自 Object) | 
| GetHashCode() | 作为默认哈希函数。(继承自 Object) | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object 的浅表副本。(继承自 Object) | 
| ToString() | 返回表示当前对象的字符串。(继承自 Object) |