RowUpdatingEventArgs.StatementType 属性

定义

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

public:
 property System::Data::StatementType StatementType { System::Data::StatementType get(); };
public System.Data.StatementType StatementType { get; }
member this.StatementType : System.Data.StatementType
Public ReadOnly Property StatementType As StatementType

属性值

要执行的 SQL 语句的类型。The type of SQL statement to execute.

注解

StatementType 可以为下列值之一:StatementType can be one of the following values:

  • 选择Select

  • 插入Insert

  • 更新Update

  • 删除Delete

适用于

另请参阅