MySQL Connector/Net
MySqlCommand Methods |
The MySqlCommand type exposes the following members.

Name | Description | |
---|---|---|
![]() |
BeginExecuteNonQuery |
Initiates the asynchronous execution of the SQL statement or stored procedure
that is described by this MySqlCommand.
|
![]() |
BeginExecuteNonQuery(AsyncCallback, Object) |
Initiates the asynchronous execution of the SQL statement or stored procedure
that is described by this MySqlCommand.
|
![]() |
BeginExecuteReader |
Initiates the asynchronous execution of the SQL statement or stored procedure
that is described by this MySqlCommand, and retrieves one or more
result sets from the server.
|
![]() |
BeginExecuteReader(CommandBehavior) |
Initiates the asynchronous execution of the SQL statement or stored procedure
that is described by this MySqlCommand using one of the
CommandBehavior values.
|
![]() |
Cancel |
Attempts to cancel the execution of a currently active command
(Overrides DbCommandCancel.) |
![]() |
Clone |
Creates a clone of this MySqlCommand object. CommandText, Connection, and Transaction properties
are included as well as the entire parameter list.
|
![]() |
CreateDbParameter | (Overrides DbCommandCreateDbParameter.) |
![]() |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() |
CreateParameter |
Creates a new instance of a MySqlParameter object.
|
![]() |
Dispose | |
![]() |
Dispose(Boolean) | (Overrides ComponentDispose(Boolean).) |
![]() |
EndExecuteNonQuery |
Finishes asynchronous execution of a SQL statement.
|
![]() |
EndExecuteReader |
Finishes asynchronous execution of a SQL statement, returning the requested
MySqlDataReader.
|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
ExecuteDbDataReader | (Overrides DbCommandExecuteDbDataReader(CommandBehavior).) |
![]() |
ExecuteDbDataReaderAsync | (Inherited from DbCommand.) |
![]() ![]() |
ExecuteNonQuery |
Executes a SQL statement against the connection and returns the number of rows affected.
(Overrides DbCommandExecuteNonQuery.) |
![]() |
ExecuteNonQueryAsync | (Inherited from DbCommand.) |
![]() |
ExecuteNonQueryAsync(CancellationToken) | (Inherited from DbCommand.) |
![]() ![]() |
ExecuteReader | |
![]() |
ExecuteReader(CommandBehavior) |
Sends the CommandText to the Connection,
and builds a MySqlDataReader using one of the CommandBehavior values.
|
![]() |
ExecuteReaderAsync | (Inherited from DbCommand.) |
![]() |
ExecuteReaderAsync(CancellationToken) | (Inherited from DbCommand.) |
![]() |
ExecuteReaderAsync(CommandBehavior) | (Inherited from DbCommand.) |
![]() |
ExecuteReaderAsync(CommandBehavior, CancellationToken) | (Inherited from DbCommand.) |
![]() ![]() |
ExecuteScalar |
Executes the query, and returns the first column of the first row in the
result set returned by the query. Extra columns or rows are ignored.
(Overrides DbCommandExecuteScalar.) |
![]() |
ExecuteScalarAsync | (Inherited from DbCommand.) |
![]() |
ExecuteScalarAsync(CancellationToken) | (Inherited from DbCommand.) |
![]() |
Finalize | (Overrides ComponentFinalize.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
GetService | (Inherited from Component.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() ![]() |
Prepare |
Creates a prepared version of the command on an instance of MySQL Server.
(Overrides DbCommandPrepare.) |
![]() |
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
