repository - Using Odata to get huge amount of data -


i have data source provider :

public class dsprovider     {         public iqueryable<product> products         {                         {                 return _repo.products.asqueryable();             }         } } 

the repository in above example gets records (of products) db , applies filters, not sound right if had 50000 requests/sec website.how can limit repository return required info db without converting service tightly coupled request option i.e. opposite of try achieve using odata?

so summarize know if possible query db on odata options supplied user request not have products , apply filters of odata.

i found out after doing small poc entity framework takes care of building dynamic query based on request.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -