Example #1
0
        public DataSet GetGoogleMapZoomLinks()
        {
            string key = "GoogleMapZoomLinks";
            DataSet ds = (DataSet)primitivesCache.GetData(key);

            if (ds == null)
            {
                SystemDA da = new SystemDA();
                ds = da.GetGoogleMapZoomLinks();

                primitivesCache.Add(key, ds, CacheItemPriority.Normal, null,
                     new SlidingTime(TimeSpan.FromMinutes(System.Convert.ToInt32(ConfigUtil.GetConfigItem("LongCacheDuration")))));
            }

            return ds;
        }