Firebird ADO.NET Provider SDK Documentation - v1.7

FbBatchExecution.CommandExecuted Event

The event trigged after a SQL statement execution.

[Visual Basic]
Public Event CommandExecuted As CommandExecutedEventHandler
[C#]
public event CommandExecutedEventHandler CommandExecuted;

Event Data

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

Property Description
CommandText Returns the SQL statement that was executed.
DataReader Returns a FbDataReader instance case the executed SQL command returns data. If the executed SQL command does not returns data, (for instance: the case of an UPDATE statement), the DataReader is setled to null.
StatementType Returns the SqlStatementType of the current CommandText.

See Also

FbBatchExecution Class | FirebirdSql.Data.Firebird.Isql Namespace