3136d0cfdd40ceab85fac129b3eb477faf62c7eb
Guides/Izenda-AdHoc-Driver.md
| ... | ... | @@ -182,9 +182,8 @@ Getting data from several data source providers may take a lot of time and resou |
| 182 | 182 | |
| 183 | 183 | You can configure the cache yourself by using the following properties and methods: |
| 184 | 184 | |
| 185 | -* **DataCacheExpiration:** Sets the date for cache expiration. All data in the cache older than the specified date will be cleared (removed from the cache). For example, if you want to clear all data more than two days old, you should set: ``fusionDriver.DataCacheExpiration = DateTime.Now.AddDays(-2);`` |
|
| 186 | -* **CacheAllReports method:** Adds all available reports to the cache: ``fusionDriver.CacheAllReports();`` |
|
| 187 | -* **CacheReport method:** Adds a single report with the specified name to the cache: ``fusionDriver.CacheReport(string reportFullName);`` |
|
| 185 | +* **DataCacheExpiration:** Sets the date for cache expiration. All data in the cache older than the specified date will be cleared (removed from the cache). For example, if you want to clear all data more than two days old, you should set: ``AdHocSettings..DataCacheExpiration = DateTime.Now.AddDays(-2);`` |
|
| 186 | +* **CacheReports method:** Indicates that all reports should or should not be cached: ``fusionDriver.CacheReports = true;`` |
|
| 188 | 187 | |
| 189 | 188 | ###Sample use |
| 190 | 189 |