/// <summary> /// Create a table with a specified name. /// </summary> /// <param name="tableName">The name of the table.</param> /// <param name="columns">Columns.</param> public void CreateTable(string tableName, List <Column> columns) { if (String.IsNullOrEmpty(tableName)) { throw new ArgumentNullException(nameof(tableName)); } if (columns == null || columns.Count < 1) { throw new ArgumentNullException(nameof(columns)); } Query(MysqlHelper.CreateTableQuery(tableName, columns)); }