Пример #1
0
 public static string CheckConcurrency <T>(T entity) where T : class, ICacheable
 {
     return(CachedDao.CheckConcurrency(entity));
 }
Пример #2
0
 public static void Save <T>(T entity) where T : class, ICacheable
 {
     CachedDao.CacheSave(entity);
 }
Пример #3
0
 public static void RemoveFromCache(ICacheable cacheable)
 {
     CachedDao.RemoveFromCache(cacheable);
 }
Пример #4
0
 public static T Load <T>(int id, params Expression <Func <T, object> >[] includes) where T : class, ICacheable
 {
     return(CachedDao.CacheLoad(id, includes));
 }