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