Retrieve packages filtered by dependency

Topics: Ecosystem, General
Apr 5, 2013 at 5:41 PM
Is there way to retrieve list of packages from OData based feed filtered by specified dependency?

I've tried such request on IQueryable<IPackage>
.Where(_ => _.DependencySets.SelectMany(__ => __.Dependencies).Where(__ => __.Id == "Bla").Any());
but get exception that Any is not supported.

Apr 12, 2013 at 2:21 AM
Can you try something like below to directly query against the OData feed :$orderby=LastUpdated desc&$filter=substringof('{YourPackageId}',Dependencies)
Apr 15, 2013 at 10:57 AM
Thanks, bhuvak, but that will not work for me.
  1. I need exact match, not substring;
  2. I need universal solution - which works not only on DataServiceRepository;