문제

I am developing web application using silverlight 5 and entity framework with wcf ria services to get data from oracle.

My load operation fails when trying to load more than 2000 records. How can we get large number of records in single load operation method call?

도움이 되었습니까?

해결책

Try changing the setting in web.config called maxItemsInObjectGraph set to int.MaxValue.

i.e.
<endpointBehaviors>
        <behavior>
          <dataContractSerializer maxItemsInObjectGraph="2147483647"/>
        </behavior>
</endpointBehaviors>

Hope this helps.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top