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.
精彩评论