MySqlCommand Properties

MySQL Connector/Net

The MySqlCommand type exposes the following members.

Properties

  NameDescription
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
CommandText
Gets or sets the SQL statement to execute at the data source.
(Overrides DbCommand..::.CommandText.)
CommandTimeout
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
(Overrides DbCommand..::.CommandTimeout.)
CommandType
Gets or sets a value indicating how the CommandText property is to be interpreted.
(Overrides DbCommand..::.CommandType.)
Connection
Gets or sets the MySqlConnection used by this instance of the MySqlCommand.
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
DbConnection
Gets or sets the DbConnection used by this DbCommand.
(Inherited from DbCommand.)
DbParameterCollection
Gets the collection of DbParameter objects.
(Inherited from DbCommand.)
DbTransaction
Gets or sets the DbTransaction within which this DbCommand object executes.
(Inherited from DbCommand.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
DesignTimeVisible
Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control.
(Overrides DbCommand..::.DesignTimeVisible.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
IsPrepared
LastInsertedId
Parameters
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Transaction
Gets or sets the MySqlTransaction within which the MySqlCommand executes.
UpdatedRowSource
Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.
(Overrides DbCommand..::.UpdatedRowSource.)

See Also