Hac*_*her 0 wcf filter ipad odata
我在Odata服务连接的数据库中有一个int字段.我想知道是否可以在整数字段上执行StartsWith过滤器.
例如http://services.odata.org/Northwind/Northwind.svc/Customers?$ filter = startswith(CustomerID,'1')eq true
在此示例中,CustomerID将是int字段.目前即时收到错误400响应,我收集的原因是你不能在int字段上执行startswith.我可以以某种方式在过滤器中投射该字段吗?
提前致谢