public IEnumerable <TEntityType> QuerySegmented(string partitionKey, ref TableQuery <TEntityType> query, ref TableContinuationToken continuationToken) { if (query == null) { query = (from element in GetTable().CreateQuery <TEntityType>() where element.PartitionKey == partitionKey select element) .AsTableQuery(); } var queryResult = query.ExecuteSegmented(continuationToken); continuationToken = queryResult.ContinuationToken; return(queryResult); }