如果您的应用程序访问的数据不常更新,例如用户的配置文件,那就应该实现缓存。
If your application is accessing data that isn't updated often, such as a user's profile, you should implement caching.
对于如何通过ADO.NET方法在内存缓存数据集合与基本数据源之间提交数据更改,这些应用程序拥有完全的更新控制权。
Applications have complete update control over over how data changes are submitted between the in-memory cache data set and the underlying data source through ADO.NET methods.
完成此操作的最简单方法是向服务器发送异步更新并且在处理期间,更新缓存和应用程序的 UI。
The simplest way to do this is to send an asynchronous update to the server and while that is processing, update the cache and the UI of our application.
应用推荐