当资料表或特定资料列发生变更时,具有相依性的项目便会失效并且自快取中移除。
When a change occurs in the table or in a specific row, the item that has a dependency is invalidated and removed from the cache.
您可以如同手动加入快取的项目一样,将网页的快取原则设定为SQL相依性。
You could set that page's cache policy to be a SQL dependency as you would for an item you added manually to the cache.
如果资料库中发生的变更可能会修改这项命令的结果集,相依性会使快取的项目失效。
If a change occurs in the database that would modify the results set of that command, the dependency causes the cached item to be invalidated.
应用推荐