1
我想查询字段(来自我的ODATA服务),谁有类型的Int64。查询看起来像:ODATA - 类型Int64的查询字段
http://localhost/Data/MyTable?%24inlinecount=allpages&%24top=100&%24filter=BIGID+eq+666423361622
但它抛出异常 -
"An error occurred while processing this request".
在调试模式下检查异常的详细信息后,我找到了真正的例外 -
{System.OverflowException: Value was either too large or too small for an Int32...}
有没有一种方法,即我可以让ODATA不使用解析到Int32?也许是这样的:
filter=(Int64)BIGID+eq+666423361622