StatementType |
serializable |
System.Data (system.data.dll) |
enum |
This enumeration is used to specify the
StatementType property of the
System.Data.Common.RowUpdatingEventArgs and
System.Data.Common.RowUpdatedEventArgs classes.
These objects are provided to clients when handling row update events
for a data adapter, allowing your code to determine whether the
action for the current row corresponds to a SQL SELECT, DELETE,
INSERT, or UPDATE command.
public enum StatementType {
Select = 0,
Insert = 1,
Update = 2,
Delete = 3
}
Hierarchy
System.Object
System.ValueType System.Enum(System.IComparable, System.IFormattable
, System.IConvertible)
StatementType
Returned By
System.Data.Common.RowUpdatedEventArgs.StatementType
, System.Data.Common.RowUpdatingEventArgs.StatementType
Passed To
System.Data.Common.DbDataAdapter.{CreateRowUpdatedEvent( )
, CreateRowUpdatingEvent( )}
, System.Data.Common.RowUpdatedEventArgs.RowUpdatedEventArgs( )
, System.Data.Common.RowUpdatingEventArgs.RowUpdatingEventArgs( )
, System.Data.OleDb.OleDbRowUpdatedEventArgs.OleDbRowUpdatedEventArgs( )
, System.Data.OleDb.OleDbRowUpdatingEventArgs.OleDbRowUpdatingEventArgs( )
, System.Data.OracleClient.OracleRowUpdatedEventArgs.OracleRowUpdatedEventArgs( )
, System.Data.OracleClient.OracleRowUpdatingEventArgs.OracleRowUpdatingEventArgs( )
, System.Data.SqlClient.SqlRowUpdatedEventArgs.SqlRowUpdatedEventArgs( )
, System.Data.SqlClient.SqlRowUpdatingEventArgs.SqlRowUpdatingEventArgs( )
|