2011-11-28 73 views
0

我是silverlight和odata的新手。目前我正在crm 2011中工作,我需要從crm 2011使用服務器端分頁來提取數據,就像在silverlight和odata中查看crm 2011一樣。請幫我在這crm2011與silverlight和Odata分頁

回答

1

最好的辦法是看一個MSDN例這樣article here

值得一提的是,使用REST endpoing的最大記錄數,你可以在同一時間返回值爲50。這你必須看看你得到的結果是否有更多的記錄。文章詳細介紹了這一點以及...

The ProcessPages callback method determines if any more records exist and 
if they do, it uses the DataServiceQueryContinuation(T) Class. The 
DataServiceQueryContinuation class contains a single property, NextLinkUri 
which provides URL that contains the $skiptoken parameters that describes the 
paging boundary.