MySqlCommand Properties

MySQL Connector/Net

MySqlCommand Properties

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 Code example CommandText
Gets or sets the SQL statement to execute at the data source.
(Overrides DbCommandCommandText.)
Public property CommandTimeout
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
(Overrides DbCommandCommandTimeout.)
Public property Code example CommandType
Gets or sets a value indicating how the CommandText property is to be interpreted.
(Overrides DbCommandCommandType.)
Public property Code example 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 DbCommandDbConnection.)
Protected property DbParameterCollection (Overrides DbCommandDbParameterCollection.)
Protected property DbTransaction (Overrides DbCommandDbTransaction.)
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 DbCommandDesignTimeVisible.)
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 Code example 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 DbCommandUpdatedRowSource.)
Top
See Also