You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with Odata clint lib 7.20.0, it generates a query as below
$filter=SourceType eq 'Commercial' and ApplicationName eq 'all_up' or SourceType eq 'Consumer' and ApplicationName eq 'OWA'
It doesn't add () for sub queries so the filter is wrong. How can I workaround this issue please? Or Odata client library doesn't support such nested queries?
The text was updated successfully, but these errors were encountered:
I have code below
DataServiceQuery.DataServiceOrderedQuery)container.Docs.Where(d =>
(d.SourceType == "Commercial" && d.ApplicationName == "all_up")
|| (d.SourceType == "Consumer" && d.ApplicationName == appName));
with Odata clint lib 7.20.0, it generates a query as below
$filter=SourceType eq 'Commercial' and ApplicationName eq 'all_up' or SourceType eq 'Consumer' and ApplicationName eq 'OWA'
It doesn't add () for sub queries so the filter is wrong. How can I workaround this issue please? Or Odata client library doesn't support such nested queries?
The text was updated successfully, but these errors were encountered: