StatementType serializable

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 figs/u2192.gif System.ValueType figs/u2192.gif System.Enum(System.IComparable, System.IFormattable , System.IConvertible) figs/u2192.gif 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( )



ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net