MySqlCommand Properties

MySQL Connector.Net

Collapse image Expand Image Copy image CopyHover image

The MySqlCommand type exposes the following members.

Properties

  Name Description
Public property CacheAge
Protected property CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
Public property CommandText
Gets or sets the SQL statement to execute at the data source.
(Overrides DbCommand..::..CommandText.)
Public property CommandTimeout
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
(Overrides DbCommand..::..CommandTimeout.)
Public property CommandType
Gets or sets a value indicating how the CommandText property is to be interpreted.
(Overrides DbCommand..::..CommandType.)
Public property Connection
Gets or sets the MySqlConnection used by this instance of the MySqlCommand.
Public property Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Protected property DbConnection (Overrides DbCommand..::..DbConnection.)
Protected property DbParameterCollection (Overrides DbCommand..::..DbParameterCollection.)
Protected property DbTransaction (Overrides DbCommand..::..DbTransaction.)
Protected property DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public property DesignTimeVisible
Gets or sets a value indicating whether the command object should be visible in a Windows Form Designer control.
(Overrides DbCommand..::..DesignTimeVisible.)
Public property EnableCaching
Protected property Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public property IsPrepared
Public property LastInsertedId
Public property Parameters
Public property Site
Gets or sets the ISite of the Component.
(Inherited from Component.)
Public property Transaction
Gets or sets the MySqlTransaction within which the MySqlCommand executes.
Public property 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