MySqlConnector


MySqlCommand constructor (1 of 5)

Initializes a new instance of the MySqlCommand class.

public MySqlCommand()

See Also


MySqlCommand constructor (2 of 5)

Initializes a new instance of the MySqlCommand class, setting CommandText to commandText.

public MySqlCommand(string commandText)
parameterdescription
commandTextThe text to assign to CommandText.

See Also


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)
parameterdescription
connectionThe MySqlConnection to use.
transactionThe active MySqlTransaction, if any.

See Also


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)
parameterdescription
commandTextThe text to assign to CommandText.
connectionThe MySqlConnection to use.

See Also


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)
parameterdescription
commandTextThe text to assign to CommandText.
connectionThe MySqlConnection to use.
transactionThe active MySqlTransaction, if any.

See Also