wcf data services - Filter on Expanded entities in OData -
how apply filtering conditions on expanded entities in odata ?
suppose have master entity home having fields
homeid, stateid, countyid, address and sub entities state as
stateid, statename and county as
countyid, countyname i need home addresses , ids filter condition state name , county name. how should url?
using $expand keyword odata query should like:
/home/?$filter=state/statename eq 'state' , county/countyname eq 'county'&$expand=state,county&$select=homeid, address
Comments
Post a Comment