的OData和大小写 [英] OData and case sensitivity
问题描述
我已经搞乱了的OData并意识到URI是区分大小写的。 ... / Northwind.svc /产品!= ... / Northwind.svc /产品 这是做的目的是什么?有没有办法让它不区分大小写?
I've been messing with the OData and realized that URIs are case sensitive. .../Northwind.svc/Products != .../Northwind.svc/products Is this done on purpose? is there a way to make it case insensitive?
推荐答案
推荐的解决方案是使用支持的OData函数 TOUPPER
或 TOLOWER
摸出的区分大小写问题(使用过滤器$
命令时),并获得完整的结果集。
The recommended solution is to either use the supported OData functions toupper
or tolower
to work out the case sensitivity issues (when using a filter$
command) and get the full result set.
我写了一个简短的帖子有点进一步详细说明这一点:
处理案例敏感性的OData
I wrote a brief post explaining this a bit further in detail:
Dealing With Case Sensitivity in OData
这篇关于的OData和大小写的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!