I'm working with Restier which sits on top of the Entity Framework and Web API. When I make a call with a $top operator:
/entitySet?$top=10
The resultant query captured by the interceptor debugger is as follows:
LOADMEMORYQUERY 'SELECT * FROM [entitySet] /*EntityFramework Load MemoryQuery*/';MEMORYQUERY [entitySet] 'SELECT * FROM [entitySet] LIMIT 10'
Which ends up running the first query against the DB of:
SELECT * FROM [entitySet]
How do I avoid the LOADMEMORYQUERY call? It is a very large dataset and I would prefer to only pull from the DB what I need.