SqlCeRowUpdatedEventArgs Class
Provides data for the RowUpdated event.
Inheritance Hierarchy
System.Object
System.EventArgs
System.Data.Common.RowUpdatedEventArgs
System.Data.SqlServerCe.SqlCeRowUpdatedEventArgs
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public NotInheritable Class SqlCeRowUpdatedEventArgs _
Inherits RowUpdatedEventArgs
'Usage
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
The SqlCeRowUpdatedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SqlCeRowUpdatedEventArgs | Initializes a new instance of the SqlCeRowUpdatedEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
Command | Gets the SqlCeCommand executed when Update is called. | |
Errors | (inherited from RowUpdatedEventArgs) | |
RecordsAffected | (inherited from RowUpdatedEventArgs) | |
Row | (inherited from RowUpdatedEventArgs) | |
RowCount | (inherited from RowUpdatedEventArgs) | |
StatementType | (inherited from RowUpdatedEventArgs) | |
Status | (inherited from RowUpdatedEventArgs) | |
TableMapping | (inherited from RowUpdatedEventArgs) |
Top
Methods
Name | Description | |
---|---|---|
CopyToRows(array<DataRow[]) | (inherited from RowUpdatedEventArgs) | |
CopyToRows(array<DataRow[], Int32) | (inherited from RowUpdatedEventArgs) | |
Equals | (inherited from Object) | |
Finalize | (inherited from Object) | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
MemberwiseClone | (inherited from Object) | |
ToString | (inherited from Object) |
Top
Remarks
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:
The values in the DataRow are moved to the parameter values.
The OnRowUpdating event is raised.
The command executes.
If the command is set to FirstReturnedRecord, then the first returned result is placed in the DataRow.
The OnRowUpdated event is raised.
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.