SqlCeRowUpdatedEventArgs Class

Provides data for the RowUpdated event.

Inheritance Hierarchy


Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in 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
type SqlCeRowUpdatedEventArgs =  
        inherit RowUpdatedEventArgs
public final class SqlCeRowUpdatedEventArgs extends RowUpdatedEventArgs

The SqlCeRowUpdatedEventArgs type exposes the following members.


  Name Description
Public method SqlCeRowUpdatedEventArgs Initializes a new instance of the SqlCeRowUpdatedEventArgs class.



  Name Description
Public property Command Gets the SqlCeCommand executed when Update is called.
Public property Errors (inherited from RowUpdatedEventArgs)
Public property RecordsAffected (inherited from RowUpdatedEventArgs)
Public property Row (inherited from RowUpdatedEventArgs)
Public property RowCount (inherited from RowUpdatedEventArgs)
Public property StatementType (inherited from RowUpdatedEventArgs)
Public property Status (inherited from RowUpdatedEventArgs)
Public property TableMapping (inherited from RowUpdatedEventArgs)



  Name Description
Public method CopyToRows(array<DataRow[]) (inherited from RowUpdatedEventArgs)
Public method CopyToRows(array<DataRow[], Int32) (inherited from RowUpdatedEventArgs)
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Public method ToString (inherited from Object)



The RowUpdated event is raised when an Update to a row is completed.

When using Update, there are two events that occur for each data row updated. The order of execution is as follows:

  1. The values in the DataRow are moved to the parameter values.

  2. The OnRowUpdating event is raised.

  3. The command executes.

  4. If the command is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.

  5. The OnRowUpdated event is raised.

  6. AcceptChanges is called.

Thread Safety

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.

See Also


System.Data.SqlServerCe Namespace