RowUpdatingEventArgs 类

定义

为 .NET Framework 数据提供程序的 RowUpdating 事件提供数据。Provides the data for the RowUpdating event of a .NET Framework data provider.

public ref class RowUpdatingEventArgs : EventArgs
public class RowUpdatingEventArgs : EventArgs
type RowUpdatingEventArgs = class
    inherit EventArgs
Public Class RowUpdatingEventArgs
Inherits EventArgs
继承
RowUpdatingEventArgs
派生

注解

通常RowUpdating ,该事件在行开始Update之前引发。The RowUpdating event is typically raised just before an Update to a row begins.

构造函数

RowUpdatingEventArgs(DataRow, IDbCommand, StatementType, DataTableMapping)

初始化 RowUpdatingEventArgs 类的新实例。Initializes a new instance of the RowUpdatingEventArgs class.

属性

BaseCommand

获取或设置此类的实例的 IDbCommand 对象。Gets or sets the IDbCommand object for an instance of this class.

Command

获取要在 IDbCommand 操作过程中执行的 Update(DataSet)Gets the IDbCommand to execute during the Update(DataSet) operation.

Errors

获取当 Command 执行时 .NET Framework 数据提供程序生成的任何错误。Gets any errors generated by the .NET Framework data provider when the Command executes.

Row

获取要作为插入、更新或删除操作的一部分发送到服务器的 DataRowGets the DataRow that will be sent to the server as part of an insert, update, or delete operation.

StatementType

获取要执行的 SQL 语句的类型。Gets the type of SQL statement to execute.

Status

获取或设置 UpdateStatus 属性的 CommandGets or sets the UpdateStatus of the Command property.

TableMapping

获取要通过 DataTableMapping 发送的 Update(DataSet)Gets the DataTableMapping to send through the Update(DataSet).

方法

Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅