Returning filtered data from ApiController

Returning filtered data from ApiController

Postby tolgaerdogus » Tue 08 Apr 2014 14:22

Hi,

I have successfully created an entity model, database first, using the latest download of dotconnect for oracle.

I can write linq queries successfully, however, when I use the [Queryable] attribute on a simple Get action in a ApiController derived controller class, the results take incredibly long to execute.

If I use, Linq2rest instead, the same odata ajax query executes very fast.

Do you have any idea what might be going on?

Thanks
tolgaerdogus
 
Posts: 1
Joined: Tue 08 Apr 2014 14:18

Re: Returning filtered data from ApiController

Postby MariiaI » Wed 09 Apr 2014 11:02

Most likely, this behaviour is not related to dotConnect for Oracle. The difference may depend on the fact that one or another ASP.NET functional is used.
However, could you please send us a small test project which demonstrates this behaviour, so that we are able to investigate it in more details and determine the reason of this difference.
MariiaI
Devart Team
 
Posts: 1472
Joined: Mon 13 Feb 2012 08:17


Return to dotConnect for Oracle