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 } HierarchySystem.Object System.ValueType System.Enum(System.IComparable, System.IFormattable , System.IConvertible) StatementType Returned BySystem.Data.Common.RowUpdatedEventArgs.StatementType , System.Data.Common.RowUpdatingEventArgs.StatementType Passed ToSystem.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( ) |