Property | Type | Description | |
---|---|---|---|
AddToBatch | void | ||
AsyncExecuteWrapper | object | ||
CheckState | void | ||
ClearCommandTimer | void | ||
Close | void | ||
EstimatedSize | long | ||
GetCommandTextForBatching | string | ||
HandleCommandBehaviors | void | ||
ICloneable | object | ||
Prepare | void | ||
ResetReader | void | ||
ResetSqlSelectLimit | void | ||
TrimSemicolons | string |
Method | Description | |
---|---|---|
BeginExecuteNonQuery ( ) : IAsyncResult |
Initiates the asynchronous execution of the SQL statement or stored procedure that is described by this MySqlCommand.
|
|
BeginExecuteNonQuery ( AsyncCallback callback, object stateObject ) : IAsyncResult |
Initiates the asynchronous execution of the SQL statement or stored procedure that is described by this MySqlCommand.
|
|
BeginExecuteReader ( ) : IAsyncResult |
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 behavior ) : IAsyncResult |
Initiates the asynchronous execution of the SQL statement or stored procedure that is described by this MySqlCommand using one of the CommandBehavior values.
|
|
Cancel ( ) : void |
Attempts to cancel the execution of a currently active command Cancelling a currently active query only works with MySQL versions 5.0.0 and higher. |
|
Clone ( ) : |
Creates a clone of this MySqlCommand object. CommandText, Connection, and Transaction properties are included as well as the entire parameter list.
|
|
CreateParameter ( ) : |
Creates a new instance of a MySqlParameter object. This method is a strongly-typed version of IDbCommand.CreateParameter. |
|
EndExecuteNonQuery ( IAsyncResult asyncResult ) : int |
Finishes asynchronous execution of a SQL statement.
|
|
EndExecuteReader ( IAsyncResult result ) : |
Finishes asynchronous execution of a SQL statement, returning the requested MySqlDataReader.
|
|
ExecuteNonQuery ( ) : int | ||
ExecuteReader ( ) : |
||
ExecuteReader ( CommandBehavior behavior ) : |
||
ExecuteScalar ( ) : object | ||
MySqlCommand ( ) : System | ||
MySqlCommand ( string cmdText ) : System | ||
MySqlCommand ( string cmdText, MySqlConnection connection ) : System | ||
MySqlCommand ( string cmdText, MySqlConnection connection, MySqlTransaction transaction ) : System | ||
Prepare ( ) : void |
Method | Description | |
---|---|---|
CreateDbParameter ( ) : DbParameter | ||
Dispose ( bool disposing ) : void | ||
ExecuteDbDataReader ( CommandBehavior behavior ) : DbDataReader |
Method | Description | |
---|---|---|
AddToBatch ( |
||
AsyncExecuteWrapper ( int type, CommandBehavior behavior ) : object | ||
CheckState ( ) : void |
Check the connection to make sure - it is open - it is not currently being used by a reader - and we have the right version of MySQL for the requested command type
|
|
ClearCommandTimer ( ) : void | ||
Close ( |
||
EstimatedSize ( ) : long | ||
GetCommandTextForBatching ( ) : string | ||
HandleCommandBehaviors ( CommandBehavior behavior ) : void | ||
ICloneable ( ) : object | ||
Prepare ( int cursorPageSize ) : void | ||
ResetReader ( ) : void |
Reset reader to null, to avoid "There is already an open data reader" on the next ExecuteReader(). Used in error handling scenarios.
|
|
ResetSqlSelectLimit ( ) : void |
Reset SQL_SELECT_LIMIT that could have been modified by CommandBehavior.
|
|
TrimSemicolons ( string sql ) : string |
public BeginExecuteNonQuery ( ) : IAsyncResult | ||
return | IAsyncResult |
public BeginExecuteNonQuery ( AsyncCallback callback, object stateObject ) : IAsyncResult | ||
callback | AsyncCallback |
/// An |
stateObject | object | A user-defined state object that is passed to the
/// callback procedure. Retrieve this object from within the callback procedure
/// using the |
return | IAsyncResult |
public BeginExecuteReader ( CommandBehavior behavior ) : IAsyncResult | ||
behavior | CommandBehavior | One of the |
return | IAsyncResult |
protected CreateDbParameter ( ) : DbParameter | ||
return | DbParameter |
public EndExecuteNonQuery ( IAsyncResult asyncResult ) : int | ||
asyncResult | IAsyncResult | The |
return | int |
public EndExecuteReader ( IAsyncResult result ) : |
||
result | IAsyncResult | The |
return |
protected ExecuteDbDataReader ( CommandBehavior behavior ) : DbDataReader | ||
behavior | CommandBehavior | |
return | DbDataReader |
public ExecuteReader ( CommandBehavior behavior ) : |
||
behavior | CommandBehavior | |
return |
public MySqlCommand ( string cmdText ) : System | ||
cmdText | string | |
return | System |
public MySqlCommand ( string cmdText, MySqlConnection connection ) : System | ||
cmdText | string | |
connection | MySqlConnection | |
return | System |
public MySqlCommand ( string cmdText, MySqlConnection connection, MySqlTransaction transaction ) : System | ||
cmdText | string | |
connection | MySqlConnection | |
transaction | MySqlTransaction | |
return | System |