0

how to convert this query to url i tried some thing like this

SELECT "column_name" FROM "table_name" [WHERE "condition"] ORDER BY "column_name" [ASC, DESC];

4

2 回答 2

1

According to the protocol, you can use $crossjoin to query on multiple entity sets. but OData library does not support $crossjoin in uri parser, reader and writer.

Alternative, if the there are relationship (navigation property) between entity sets, you can try mix $select and $expand to get the results you want. For example:

baseurl/EntityA?$select=Property1,Property2&$expand=Navigation1($select=Property3)

于 2014-04-10T03:35:18.500 回答
0

OData v4 introduces a new operators, which may resolve your scenario.

For more please reference this:http://docs.oasis-open.org/odata/odata/v4.0/odata-v4.0-part2-url-conventions.html, section 5.1.1.5.1 any

于 2014-05-02T06:22:08.010 回答