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)); } }
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; } }