Returning filtered data from ApiController

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
tolgaerdogus
Posts: 1
Joined: Tue 08 Apr 2014 14:18

Returning filtered data from ApiController

Post by 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

MariiaI
Devart Team
Posts: 1472
Joined: Mon 13 Feb 2012 08:17

Re: Returning filtered data from ApiController

Post by 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.

Post Reply