开发者

How enable cache in a asp.net entityDataSource controle

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜