main
1using System.Collections.Generic;
2
3namespace solidware.financials.service.orm
4{
5 public interface IdentityMap<TKey, TValue>
6 {
7 IEnumerable<TValue> all();
8 void add(TKey key, TValue value);
9 void update_the_item_for(TKey key, TValue new_value);
10 bool contains_an_item_for(TKey key);
11 TValue item_that_belongs_to(TKey key);
12 void evict(TKey key);
13 }
14}