【发布时间】:2025-12-31 05:15:07
【问题描述】:
我无法确定如何让 $search 参数在 odata 中进行全文搜索。
以下url表示应包含在6.1中 http://blogs.msdn.com/b/odatateam/archive/2014/03/21/odata-6-1-and-odata-client-6-1-are-now-shipped.aspx
我使用以下模板创建了一个示例应用程序 http://www.asp.net/web-api/overview/odata-support-in-aspnet-web-api/odata-v4/create-an-odata-v4-endpoint
当我执行 odata 查询时 http://localhost:53621/odata/PartnerMaster?%24format=json&%24top=100&%24orderby=PartnerName&%24search=Test
我收到错误消息。 message=不支持查询参数“$search”
【问题讨论】: