Ejemplo n.º 1
0
        public IEnumerable <string> GetTableNames()
        {
            ListTablesResponse response = null;

            do
            {
                response = response == null
                    ? Exec(() => DynamoDb.ListTables(new ListTablesRequest()))
                    : Exec(() => DynamoDb.ListTables(new ListTablesRequest(response.LastEvaluatedTableName)));

                foreach (var tableName in response.TableNames)
                {
                    yield return(tableName);
                }
            } while (response.LastEvaluatedTableName != null);
        }