Clase SqlCeRowUpdatingEventArgs
Proporciona datos para el evento RowUpdating.
Jerarquía de herencia
System.Object
System.EventArgs
System.Data.Common.RowUpdatingEventArgs
System.Data.SqlServerCe.SqlCeRowUpdatingEventArgs
Espacio de nombres: System.Data.SqlServerCe
Ensamblado: System.Data.SqlServerCe (en System.Data.SqlServerCe.dll)
Sintaxis
'Declaración
Public NotInheritable Class SqlCeRowUpdatingEventArgs _
Inherits RowUpdatingEventArgs
'Uso
Dim instance As SqlCeRowUpdatingEventArgs
public sealed class SqlCeRowUpdatingEventArgs : RowUpdatingEventArgs
public ref class SqlCeRowUpdatingEventArgs sealed : public RowUpdatingEventArgs
[<SealedAttribute>]
type SqlCeRowUpdatingEventArgs =
class
inherit RowUpdatingEventArgs
end
public final class SqlCeRowUpdatingEventArgs extends RowUpdatingEventArgs
El tipo SqlCeRowUpdatingEventArgs expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
SqlCeRowUpdatingEventArgs | Inicializa una nueva instancia de la clase SqlCeRowUpdatingEventArgs. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
BaseCommand | (se hereda de RowUpdatingEventArgs) | |
Command | Obtiene o establece el SqlCeCommand que se va a ejecutar durante Update. | |
Errors | (se hereda de RowUpdatingEventArgs) | |
Row | (se hereda de RowUpdatingEventArgs) | |
StatementType | (se hereda de RowUpdatingEventArgs) | |
Status | (se hereda de RowUpdatingEventArgs) | |
TableMapping | (se hereda de RowUpdatingEventArgs) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (se hereda de Object) | |
Finalize | (se hereda de Object) | |
GetHashCode | (se hereda de Object) | |
GetType | (se hereda de Object) | |
MemberwiseClone | (se hereda de Object) | |
ToString | (se hereda de Object) |
Arriba
Comentarios
Se provoca el evento RowUpdating antes que Update en una fila.
Cuando se utiliza Update hay dos eventos que se producen por cada fila de datos actualizada. El orden de ejecución es el siguiente:
Los valores de DataRow se trasladan a los valores de parámetros.
Se provoca el evento OnRowUpdating.
Se ejecuta el comando.
Si el comando se establece en FirstReturnedRecord, el primer resultado devuelto se coloca en DataRow.
Se provoca el evento OnRowUpdated.
Se llama al método AcceptChanges.
Seguridad para subprocesos
Todos los miembros estáticos públicos (Shared in Microsoft Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.