Esempio n. 1
0
 public static bool RemoveColumn(MySQL sql, string table, string column)
 {
     return(sql.ExecuteQuery($"ALTER TABLE {table} DROP COLUMN {column}") > 0);
 }
Esempio n. 2
0
 public static void Init(TestContext context)
 {
     sql = new MySQLs(MySQLHelper.CreateConnectionString("localhost", "kelvin", "testing", "LRTesting"));
 }
Esempio n. 3
0
 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);
 }