Example #1
0
 ///<summary>Always refreshes the ClientWeb's cache.</summary>
 public static DataTable GetTableFromCache(bool doRefreshCache)
 {
     if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)
     {
         DataTable table = Meth.GetTable(MethodBase.GetCurrentMethod(), doRefreshCache);
         _siteCache.FillCacheFromTable(table);
         return(table);
     }
     return(_siteCache.GetTableFromCache(doRefreshCache));
 }