1

How to implement paging in Azure TableClient 2.0 using segmented execution?
is it possible to implement the below function

    IEnumerable<Message> GetMessages(int currentPage, int pageSize)
{  

}

Based in this question i can Take the desired count of records, but i don't how to skip pages or set the starting point.

Community
  • 1
  • 1
user968159
  • 126
  • 1
  • 10

1 Answers1

1

This feature is not available in the core platform. Windows Azure Table service offers a limited subset of query options defined by the ADO.NET Data Services Framework. For a list of options available, please see here: http://msdn.microsoft.com/en-us/library/windowsazure/dd135725.aspx.

In order to implement something like this, you would need to fetch the entire data on the client side (i.e. your application/service) and implement pagination. For smaller data it would be not that big of a deal but when you start dealing with large dataset, fetching entire data would be an issue.

Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241