Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9273497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:07:54+00:00 2026-06-18T16:07:54+00:00

I have an OData query that looks like this: var query = entities.MyObjects.Select(x =>

  • 0

I have an OData query that looks like this:

var query = entities.MyObjects.Select(x => new {x.MyObjectID, x.Number, x.Name});

When I run it I get only 100 items back. That is because my server is setup to page at 100 items.

But there are quite a few more and I need them all at once (in just this one occasion).

How can I get them all?

NOTE: I have tried to follow the Continuation examples on the web, but they all use a DataServiceCollection<T>. Since I am using projection, I don’t have a valid type to put in there.

I read through this page: How to: Project Data Service Query Results, but it did not help either as it is not using anonymous types.

Is this possible? I don’t want to bring back all of the object (it is quite large and there is no need to waste the bandwidth or memory doing that.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T16:07:56+00:00Added an answer on June 18, 2026 at 4:07 pm

    Use Take and Skip with multiple queries.

    Similar too: WCF Data Service – How to set Page Size programmatically?

    var query = entities.MyObjects.Skip(200).Take(100).Select(x => new {x.MyObjectID, x.Number, x.Name});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have an OData query that looks like this (My actual query is
Im trying to query the Netflix OData feed. I have the following query that
Say I have the following query OData Linq Query (run against http://odata.netflix.com/v2/Catalog ): Genres.Where(x=>x.Name==Adventures)
I have an OData service running on top of Oracle database. I can query
I have an Jersey API that returns Odata standard responses and consumes the same.
Have a procedure which looks like Procedure TestProc(TVar1, TVar2 : variant); Begin TVar1 :=
have the following sql query select catalogid , sum(numitems) numitems , sum(allitems) - sum(numitems)
I have this javascript code in MVC view i try to call OData Service
I have a database schema (MySql) exposed as a data/OData service that is queried
I have an OData search like so: $.getJSON(/api/job/GetJobs?$orderby=JobDate desc&$top=10&$skip= + skip + Is there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.