Exemple #1
0
        static IEnumerable <string> LoadTablesEnum(IKeyValueDBTransaction tr)
        {
            tr.SetKeyPrefix(TableNamesPrefix);
            var valueReader = new KeyValueDBValueReader(tr);

            while (tr.Enumerate())
            {
                valueReader.Restart();
                yield return(valueReader.ReadString());
            }
        }
Exemple #2
0
 static IEnumerable<string> LoadTablesEnum(IKeyValueDBTransaction tr)
 {
     tr.SetKeyPrefix(TableNamesPrefix);
     var valueReader = new KeyValueDBValueReader(tr);
     while (tr.Enumerate())
     {
         valueReader.Restart();
         yield return valueReader.ReadString();
     }
 }