Редагувати

Поділитися через


RowUpdatingEventArgs Class

Definition

Provides the data for the RowUpdating event of a .NET data provider.

public ref class RowUpdatingEventArgs : EventArgs
public ref class RowUpdatingEventArgs abstract : EventArgs
public class RowUpdatingEventArgs : EventArgs
public abstract class RowUpdatingEventArgs : EventArgs
type RowUpdatingEventArgs = class
    inherit EventArgs
Public Class RowUpdatingEventArgs
Inherits EventArgs
Public MustInherit Class RowUpdatingEventArgs
Inherits EventArgs
Inheritance
RowUpdatingEventArgs
Derived

Remarks

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

Constructors

RowUpdatingEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)

Initializes a new instance of the RowUpdatingEventArgs class.

Properties

BaseCommand

Gets or sets the IDbCommand object for an instance of this class.

Command

Gets the IDbCommand to execute during the Update(DataSet) operation.

Errors

Gets any errors generated by the .NET data provider when the Command executes.

Row

Gets the DataRow that will be sent to the server as part of an insert, update, or delete operation.

StatementType

Gets the type of SQL statement to execute.

Status

Gets or sets the UpdateStatus of the Command property.

TableMapping

Gets the DataTableMapping to send through the Update(DataSet).

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also