public LuaSqlCommand(string commandText, LuaSqlConnection connection, LuaSqlTransaction transaction) { _luaSqlConnection = connection; _luaSqlTransaction = transaction; _command = new MySqlCommand(commandText, _luaSqlConnection.SqlConnection, _luaSqlTransaction.Transaction); Parameters = new LuaSqlParameters(_command); }
public LuaSqlCommand NewCommand(string commandText, LuaSqlConnection connection, LuaSqlTransaction transaction) { return(new LuaSqlCommand(commandText, connection, transaction)); }