Example #1
0
        public IEnumerable <KeyValuePair <TKey, TRecord> > Backward()
        {
            foreach (var kv in Table.Backward())
            {
                TKey    key = ((Data <TKey>)kv.Key).Value;
                TRecord rec = ((Data <TRecord>)kv.Value).Value;

                yield return(new KeyValuePair <TKey, TRecord>(key, rec));
            }
        }
Example #2
0
        private void SetCahchedLenght()
        {
            foreach (var row in Table.Backward())
            {
                var key = (Data <long>)row.Key;
                var rec = (Data <byte[]>)row.Value;

                isModified = false;

                cachedLength = key.Value + rec.Value.Length;
                break;
            }
        }