的OData和大小写 [英] OData and case sensitivity

查看:330
本文介绍了的OData和大小写的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经搞乱了的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屋!

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