public static bool RemoveColumn(MySQL sql, string table, string column) { return(sql.ExecuteQuery($"ALTER TABLE {table} DROP COLUMN {column}") > 0); }
public static void Init(TestContext context) { sql = new MySQLs(MySQLHelper.CreateConnectionString("localhost", "kelvin", "testing", "LRTesting")); }
public static bool CreateTable(MySQL sql, string table, List <ColumnProperty> properties) { return(sql.ExecuteQuery(MySQLBuilder.Static.TableBuilder(table, properties)) > 0); }
public MySQLProvider(string connectionString) { SQL = new MySQL(connectionString); }