Page 1 of 1

Returning filtered data from ApiController

Posted: Tue 08 Apr 2014 14:22
by tolgaerdogus
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

Re: Returning filtered data from ApiController

Posted: Wed 09 Apr 2014 11:02
by MariiaI
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.