I am trying to get a list of all entities inside my azure table.
Any idea how I would go about writing this query?
I am using c# btw. Thanks.
I am trying to get a list of all entities inside my azure table.
Any idea how I would go about writing this query?
I am using c# btw. Thanks.
To answer your question, you could do something like the following:
However please keep in mind that table service returns a maximum of 1000 entities in a single call to it. If there're more than 1000 entities available in your table, it returns a
continuation token
which can be used to fetch next set of entities. TheExecuteQuery
method actually handles this continuation token internally thus if you want to cancel this operation for any reason, you can't do that.A better approach would be to use
ExecuteQuerySegmented
method and have your application deal with the token. Here's the sample code to do so: