本文介绍了查询计数大于100时DataServiceContext.ExecuteBatch错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
更新到WCF DataServices 5后,我们开始在DataServiceContext.ExecuteBatch调用上遇到以下错误:"当前批处理消息包含太多部分。只允许最大数量为"100"的查询操作和更改集
的批处理邮件。"
After updating to WCF DataServices 5 we started hitting the following error on a DataServiceContext.ExecuteBatch call: "The current batch message contains too many parts. Only batch messages with a maximum number of '100' query operations and change sets are allowed."
无论如何都要配置MaxPartsPerBatch选项,以便我们可以提交这些请求没有批处理ExecuteBatch 电话。
Is there anyway to configure the MaxPartsPerBatch option so we can submit these requests without batching the ExecuteBatch calls.
请帮助,谢谢!
Hoov
推荐答案
这篇关于查询计数大于100时DataServiceContext.ExecuteBatch错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!