public MySqlCommand(SqlStringTemplate sql, CommandParams cmds, MySqlConnection conn) { _sqlStringTemplate = sql; Parameters = cmds; Connection = conn; if (conn != null) { this.StringConverter = conn.StringConv; } }
public MySqlCommand(SqlStringTemplate sql, MySqlConnection conn) : this(sql, new CommandParams(), conn) { }
public MySqlCommand(SqlStringTemplate sql, CommandParams cmds, MySqlConnection conn) { _sqlStringTemplate = sql; Connection = conn; Parameters = cmds; }