Reverted unintentional change that showed problem with attributes without cache keys

This commit is contained in:
lahma
2009-07-24 15:13:42 +00:00
parent 82d5d43e75
commit 073a6cb39d

View File

@@ -80,8 +80,6 @@ namespace Spring.Aspects.Cache
store.DeleteAll();
Assert.AreEqual(0, cache.Count);
store.GetAllNoCacheKey();
}
#if NET_2_0
@@ -113,7 +111,6 @@ namespace Spring.Aspects.Cache
public interface IInventorStore
{
IList GetAll();
IList GetAllNoCacheKey();
Inventor Load(string name);
void Save(Inventor inventor);
void Delete(Inventor inventor);
@@ -138,13 +135,6 @@ namespace Spring.Aspects.Cache
return new ArrayList(inventors.Values);
}
[CacheResultItems(CacheName = "inventors")]
public IList GetAllNoCacheKey()
{
return new ArrayList(inventors.Values);
}
[CacheResult("inventors", "#name")]
public Inventor Load(string name)
{