public async Task <int> CreateAndRunUpdateAsync(string table, string where, string[] fields, params object[] values) { return(await MySqlCommands.CreateUpdate(await ConnectAsync(), table, where, fields, values).ExecuteNonQueryAsync()); }
public async Task <int> CreateAndRunInsertAsync(object[] values, string table, string fields) { return(await MySqlCommands.CreateInsert(await ConnectAsync(), table, fields, values).ExecuteNonQueryAsync()); }
public async Task <int> CreateAndRunDeleteAsync(string table, string where) { return(await MySqlCommands.CreateDelete(await ConnectAsync(), table, where).ExecuteNonQueryAsync()); }
public async Task <ConnectedMySqlDataReader> CreateAndRunCommandAsync(string command, params string[] args) { MySqlConnection connection = await ConnectAsync(); return(await RunCommandAsync(connection, MySqlCommands.CreateCommand(connection, command, args))); }