ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saifullah Zahid <saif.m...@gmail.com>
Subject Ignite.NET ReadThrough?
Date Sun, 12 Mar 2017 19:22:43 GMT
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,

Mime
View raw message