caching - Odata filter on cached data -
say instance want pull list of 50 individuals. when using odata filter, $top=2&$skip=4, returning 2 records, wanting possibly sending 50 individuals, , able run filter against those.
when debug program, run 50, , every subsequent call brings me 50 cache. when run same thing, add following $top=2&$skip=4, runs through code , gets records , returns 2 objects code, not cache.
getindividuals(odataqueryoptions<individuals> opts) { ..... var results = opts.applyto(objall.asqueryable(), settings); return new pageresult<individual>( results ienumerable<individual>, request.odataproperties().nextlink, objall.asqueryable().count()); }
i hope clear.....any ideas on how return larger group of data , run odata on after fact?
Comments
Post a Comment