SqlCeRowUpdatedEventArgs 类

RowUpdated 事件提供数据。

命名空间:  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

注释

对行的 Update 完成时引发 RowUpdated 事件。

当使用 Update 时,每个更新的数据行都发生两个事件。 执行顺序如下:

  1. DataRow 中的值移至参数值。

  2. 引发 OnRowUpdating 事件。

  3. 执行命令。

  4. 如果该命令设置为 FirstReturnedRecord,则返回的第一项结果将放置在 DataRow 中。

  5. 引发 OnRowUpdated 事件。

  6. 调用 AcceptChanges

继承层次结构

System. . :: . .Object
  System. . :: . .EventArgs
    System.Data.Common. . :: . .RowUpdatedEventArgs
      System.Data.SqlServerCe..::..SqlCeRowUpdatedEventArgs

线程安全

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

请参阅

参考

SqlCeRowUpdatedEventArgs 成员

System.Data.SqlServerCe 命名空间