public void ResetTables() { indices.TruncateTable(); table.TruncateTable(); tableByNick.TruncateTable(); tableByBirth.TruncateTable(); tableByLastLogin.TruncateTable(); userIDs.Reset(); }
public static Table GetOrCreateEmptyTableAndDatabase(Client client, string dbName, string tableName) { Table table = GetOrCreateTableAndDatabase(client, dbName, tableName); if (table == null) { return(null); } table.TruncateTable(); return(table); }