MySqlCommand constructor (1 of 5)
Initializes a new instance of the MySqlCommand
class.
public MySqlCommand()
See Also
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector
MySqlCommand constructor (2 of 5)
Initializes a new instance of the MySqlCommand
class, setting CommandText
to commandText.
public MySqlCommand(string? commandText)
parameter | description |
---|---|
commandText | The text to assign to CommandText . |
See Also
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector
MySqlCommand constructor (3 of 5)
Initializes a new instance of the MySqlCommand
class with the specified MySqlConnection
and MySqlTransaction
.
public MySqlCommand(MySqlConnection? connection, MySqlTransaction? transaction)
parameter | description |
---|---|
connection | The MySqlConnection to use. |
transaction | The active MySqlTransaction , if any. |
See Also
- class MySqlConnection
- class MySqlTransaction
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector
MySqlCommand constructor (4 of 5)
Initializes a new instance of the MySqlCommand
class with the specified command text and MySqlConnection
.
public MySqlCommand(string? commandText, MySqlConnection? connection)
parameter | description |
---|---|
commandText | The text to assign to CommandText . |
connection | The MySqlConnection to use. |
See Also
- class MySqlConnection
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector
MySqlCommand constructor (5 of 5)
Initializes a new instance of the MySqlCommand
class with the specified command text,MySqlConnection
, and MySqlTransaction
.
public MySqlCommand(string? commandText, MySqlConnection? connection, MySqlTransaction? transaction)
parameter | description |
---|---|
commandText | The text to assign to CommandText . |
connection | The MySqlConnection to use. |
transaction | The active MySqlTransaction , if any. |
See Also
- class MySqlConnection
- class MySqlTransaction
- class MySqlCommand
- namespace MySqlConnector
- assembly MySqlConnector