1
Vote

GetAll fires twice when SetEntitySetPageSize is set

description

GetAll fires twice when SetEntitySetPageSize is set. The second call seems to be originated from within the GenericPagingProvider when it tries to set the continuation token.

comments

fcschow wrote Apr 26, 2012 at 1:02 AM

It looks like the second call to GetAll is intended to retrieve the total "row count" on the entity. But this can be expensive if the service is backed by something like the Azure table storage.

Is there a recommended approach to get around this?

Airslash wrote Apr 26, 2012 at 4:41 AM

As far as I know not. I need to investigate this, but I dont think the toolkit initially supported this.