Example #1
0
 public static IDataStore Get(string tenantId, string module)
 {
     return(Cache.Get <IDataStore>(DataStoreCacheItemExtenstion.MakeCacheKey(tenantId, module)));
 }
Example #2
0
 public static void Remove(string tenantId, string module)
 {
     Cache.Remove(DataStoreCacheItemExtenstion.MakeCacheKey(tenantId, module));
 }
Example #3
0
 public static void Put(IDataStore store, string tenantId, string module)
 {
     Cache.Insert(DataStoreCacheItemExtenstion.MakeCacheKey(tenantId, module), store, DateTime.MaxValue);
 }