开发者

How enable cache in a asp.net entityDataSource controle

开发者 https://www.devze.com 2023-03-27 08:22 出处:网络
how I can enable caching for a EntityDataSource object. is there anything like EnableCachi开发者_开发问答ng property of the SqlDataSource to entities?

how I can enable caching for a EntityDataSource object. is there anything like EnableCachi开发者_开发问答ng property of the SqlDataSource to entities? this cache is already enabled by default?


According to this article:

Like the LinqDataSource, the EntityDataSource performs server side paging, and it does client side caching - of current AND original data. The original data is not stored as complete objects, but the minimal data necessary to reconstruct state when it's time to update. Updates happen, like any other data source, one at a time. So you have to pick an item, edit it and update it.

So it used cache automatically.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号