【发布时间】:2014-01-29 16:37:51
【问题描述】:
我正在尝试允许对我的 Entity Framework 的实体 (OData) 进行查询。 我的一些实体属于 DBGeography,我想对它们进行查询。 我在这样的查询上失败了:
api/towns?$filter=geo.distance(Location,Point (0.0 0.0)) lt 100
与
“')' 或 ',' 预计在 'geo.distance(Location,Point (0.0 0.0)) lt 100' 中的位置 28。”
【问题讨论】:
-
你搞清楚了吗?!
标签: asp.net-web-api odata entity-framework-6