Example 90: orders that are also BigOrders http://host/service/Orders?$filter=isof(NorthwindModel.BigOrder) http://host/service/Orders?$filter=isof($it,NorthwindModel.BigOrder) Example 91: orders of a customer that is a VIPCustomer http://host/service/Orders?$filter=isof(Customer,NorthwindModel.VIPCustomer) Geo Functions geo.distance The geo.distance function has the following signatures: Edm.Double geo.distance(Edm.GeographyPoint,Edm.GeographyPoint) Edm.Double geo.distance(Edm.GeometryPoint,Edm.GeometryPoint) The geo.distance function returns the shortest distance between the two points in the coordinate reference system signified by the two points’ geo.intersects The geo.intersects function has the following signatures: Edm.Boolean geo.intersects(Edm.GeographyPoint,Edm.GeographyPolygon) Edm.Boolean geo.intersects(Edm.GeometryPoint,Edm.GeometryPolygon) The geo.intersects function returns true if the specified point lies within the interior or on the boundary of the specified polygon, otherwise it returns false. geo.length The geo.length function has the following signatures: Edm.Double geo.length(Edm.GeographyLineString) Edm.Double geo.length(Edm.GeometryLineString) The geo.length function returns the total length of its line string parameter in the coordinate reference system signified by its SRID. Lambda Operators OData defines two operators that evaluate a Boolean expression on a collection. Both must be prepended with a navigation path that identifies a collection. 4.01 Services MUST support case-insensitive lambda operator names. Clients that want to work with 4.0 services MUST use lower case lambda operator names. The argument of a lambda operator is a lambda variable name followed by a colon (:) and a Boolean expression that uses the lambda variable name to refer to properties of members of the collection identified by the resource path. any The any operator applies a Boolean expression to each member of a collection and returns true if the expression is true for any member of the collection, otherwise it returns false. The any operator without an argumentreturns if the collection is empty.
Example 90: orders that are also BigOrders http://host/service/Orders?$filter=isof(NorthwindModel.BigOrder) http://host/service/Orders?$filter=isof($it,NorthwindModel.BigOrder) Example 91: orders of a customer that is a VIPCustomer http://host/service/Orders?$filter=isof(Customer,NorthwindModel.VIPCustomer) Geo Functions geo.distance The geo.distance function has the following signatures: Edm.Double geo.distance(Edm.GeographyPoint,Edm.GeographyPoint) Edm.Double geo.distance(Edm.GeometryPoint,Edm.GeometryPoint) The geo.distance function returns the shortest distance between the two points in the coordinate reference system signified by the two points’ geo.intersects The geo.intersects function has the following signatures: Edm.Boolean geo.intersects(Edm.GeographyPoint,Edm.GeographyPolygon) Edm.Boolean geo.intersects(Edm.GeometryPoint,Edm.GeometryPolygon) The geo.intersects function returns true if the specified point lies within the interior or on the boundary of the specified polygon, otherwise it returns false. geo.length The geo.length function has the following signatures: Edm.Double geo.length(Edm.GeographyLineString) Edm.Double geo.length(Edm.GeometryLineString) The geo.length function returns the total length of its line string parameter in the coordinate reference system signified by its SRID. Lambda Operators OData defines two operators that evaluate a Boolean expression on a collection. Both must be prepended with a navigation path that identifies a collection. 4.01 Services MUST support case-insensitive lambda operator names. Clients that want to work with 4.0 services MUST use lower case lambda operator names. The argument of a lambda operator is a lambda variable name followed by a colon (:) and a Boolean expression that uses the lambda variable name to refer to properties of members of the collection identified by the resource path. any The any operator applies a Boolean expression to each member of a collection and returns true if the expression is true for any member of the collection, otherwise it returns false. The any operator without an argumentreturns if the collection is empty.
odata-v4.01-wd02-part2-url-conventions-2017-06-07.docx