Azure Mobile Service query doesn't return all the rows

后端 未结 3 471
感动是毒
感动是毒 2020-12-19 09:22

I have a table called NameTable in my Azure Mobile Service. When I make the below mentioned calls in my client app (WP8 app using the Mobile Services SDK):

         


        
3条回答
  •  被撕碎了的回忆
    2020-12-19 10:20

    I found that this was not enough. You need to decorate your Azure Mobile Service controller method with the [EnableQuery] attribute as follows:

    [EnableQuery(PageSize=1000)]
    public IQueryable GetOneThousandRecords()
    {
        return Query()
    }
    

提交回复
热议问题