无法使用oData查询选项

Cal*_*ass 7 c# odata asp.net-web-api asp.net-web-api-odata

我有一个ASP.NET Web API项目.我试图将一些查询选项传递给我的API控制器,如下所示:

http://localhost:61736/api/Enquiries?
callback=callback&$top=30&$skip=30&orderby=EnquiryId
&$inlinecount=allpages&_=1346164698393
Run Code Online (Sandbox Code Playgroud)

但我得到以下内容:

The query parameter '$inlinecount' is not supported.

当我尝试使用时$callback,我也会得到相同的$format

知道我做错了什么吗?根据:http://msdn.microsoft.com/en-us/library/ff478141.aspx我应该可以使用它们吗?

Six*_*aez 7

ASP.NET Web API仅为OData 提供有限的支持,如本博文中所述.我没有看到你在该列表中提到的查询参数.