Freigeben über


SqlCeRowUpdatingEventArgs Class

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Provides data for the RowUpdating event.

For a list of all members of this type, see SqlCeRowUpdatingEventArgs Members.

System.Object
   System.EventArgs
      System.Data.Common.RowUpdatingEventArgs
         System.Data.SqlServerCe.SqlCeRowUpdatingEventArgs

  [Visual Basic]
  NotInheritable Public Class SqlCeRowUpdatingEventArgs
   Inherits RowUpdatingEventArgs

  [C#]
  public sealed class SqlCeRowUpdatingEventArgs :
   RowUpdatingEventArgs

  [C++]
  public __gc __sealed class SqlCeRowUpdatingEventArgs : public
   RowUpdatingEventArgs

  [JScript]
  public class SqlCeRowUpdatingEventArgs extends RowUpdatingEventArgs

Thread Safety

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

Remarks

The RowUpdating event is raised before an Update to a row.

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.

Requirements

Namespace: System.Data.SqlServerCe

Platforms: .NET Compact Framework

Assembly: System.Data.Sqlserverce (in System.Data.Sqlserverce.dll)

See Also

SqlCeRowUpdatingEventArgs Members | System.Data.SqlServerCe Namespace

Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.

Send comments on this topic.

© Microsoft Corporation. All rights reserved.