SqlCeRowUpdatedEventArgs 类
为 RowUpdated 事件提供数据。
继承层次结构
System.Object
System.EventArgs
System.Data.Common.RowUpdatedEventArgs
System.Data.SqlServerCe.SqlCeRowUpdatedEventArgs
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Public NotInheritable Class SqlCeRowUpdatedEventArgs _
Inherits RowUpdatedEventArgs
用法
Dim instance As SqlCeRowUpdatedEventArgs
public sealed class SqlCeRowUpdatedEventArgs : RowUpdatedEventArgs
public ref class SqlCeRowUpdatedEventArgs sealed : public RowUpdatedEventArgs
[<SealedAttribute>]
type SqlCeRowUpdatedEventArgs =
class
inherit RowUpdatedEventArgs
end
public final class SqlCeRowUpdatedEventArgs extends RowUpdatedEventArgs
SqlCeRowUpdatedEventArgs 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
SqlCeRowUpdatedEventArgs | 初始化 SqlCeRowUpdatedEventArgs 类的一个新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
Command | 获取在调用 Update 时执行的 SqlCeCommand。 | |
Errors | (继承自 RowUpdatedEventArgs) | |
RecordsAffected | (继承自 RowUpdatedEventArgs) | |
Row | (继承自 RowUpdatedEventArgs) | |
RowCount | (继承自 RowUpdatedEventArgs) | |
StatementType | (继承自 RowUpdatedEventArgs) | |
Status | (继承自 RowUpdatedEventArgs) | |
TableMapping | (继承自 RowUpdatedEventArgs) |
页首
方法
名称 | 说明 | |
---|---|---|
CopyToRows(array<DataRow[]) | (继承自 RowUpdatedEventArgs) | |
CopyToRows(array<DataRow[], Int32) | (继承自 RowUpdatedEventArgs) | |
Equals | (继承自 Object) | |
Finalize | (继承自 Object) | |
GetHashCode | (继承自 Object) | |
GetType | (继承自 Object) | |
MemberwiseClone | (继承自 Object) | |
ToString | (继承自 Object) |
页首
注释
对行的 Update 完成时引发 RowUpdated 事件。
当使用 Update 时,每个更新的数据行都发生两个事件。执行顺序如下:
将 DataRow 中的值移至参数值。
引发 OnRowUpdating 事件。
执行命令。
如果该命令设置为 FirstReturnedRecord,则返回的第一项结果将放置在 DataRow 中。
引发 OnRowUpdated 事件。
调用 AcceptChanges。
线程安全
此类型的任何公共静态(在 Microsoft Visual Basic 中为共享)成员是线程安全的。不保证所有实例成员都对于线程安全的。