/// <summary>Initializes a new instance of the MySQLCommand class with the text of the query, a MySQLConnection, and the IDbTransaction. /// </summary> /// <param name="cmdText"></param> /// <param name="connection"></param> /// <param name="transaction"></param> public MySQLCommand(string cmdText, MySQLConnection connection, MySQLTransaction transaction) : this(cmdText, connection) { _transaction = transaction; }
/// <summary>Initializes a new instance of the MySQLCommand class with the text of the query, a MySQLConnection, and the IDbTransaction. /// </summary> /// <param name="cmdText"></param> /// <param name="connection"></param> /// <param name="transaction"></param> /// <param name="usePreparedStatement"></param> public MySQLCommand(string cmdText, MySQLConnection connection, MySQLTransaction transaction, bool usePreparedStatement) : this(cmdText, connection, transaction) { this.UsePreparedStatement = usePreparedStatement; }