Reverted unintentional change that showed problem with attributes without cache keys
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user