查询计数大于100时DataServiceContext.ExecuteBatch错误 [英] DataServiceContext.ExecuteBatch error when query count is greater than 100
问题描述
您好,
更新到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
推荐答案
这是5.0中已知的回归,将被修复。您目前无法配置该设置。
对因此造成的任何暂时不便,我深表歉意。
This is a known regression in 5.0 that will be fixed. You currently cannot configure that setting.
I apologize for any temporary inconvenience caused by this.
这篇关于查询计数大于100时DataServiceContext.ExecuteBatch错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!