Hi,
I am using Ignite.NET and following code is used to get list of details
from Cache
List<ProductDetail> result = new List<ProductDetail>();
var query = m_productDetailStore.Query(new ScanQuery<int,
ProductDetail>(new ProductDetailFilter(nProductHeaderID)));
foreach (var cacheEntry in query)
{
result.Add(cacheEntry.Value);
}
return result;
Above code does not returns values if Database gets updated (looks like
ReadThrough not working.)
I am using SQL Server as Persistence store
I have implemented ICacheStore interface.
How I can updated my Cache if database gets updated is there any other way
to achieve this?
If anyone have any idea?
Thanks,