dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlScript Class / MySqlStatementExecute Event

MySqlStatementExecute Event
Occurs when a SQL statement within the script is about to execute.
Syntax
'Declaration
 
Public Event MySqlStatementExecute As MySqlStatementExecuteEventHandler
 
Event Data

The event handler receives an argument of type MySqlStatementExecuteEventArgs containing data related to this event. The following MySqlStatementExecuteEventArgs properties provide information specific to this event.

PropertyDescription
Gets length of the statement in symbols. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets number of line in the whole script where the statement can be located. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets position of the statement in its line. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets type of SQL statement.  
Gets offset of the statement in the whole script text. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets or sets an MySqlDataReader that represents statement resultset.  
Determines status of the statement and script execution. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets type of the statement. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
Gets the SQL statement that is about to be executed. (Inherited from Devart.Common.DbStatementExecuteEventArgs)
See Also