查询计数大于100时DataServiceContext.ExecuteBatch错误 [英] DataServiceContext.ExecuteBatch error when query count is greater than 100

查看:69
本文介绍了查询计数大于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

推荐答案

这是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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆