Home

Query results limited to 40 rows

I am using a WCF Data Service (OData) connection to a database. When I query using this syntax: AccountCollection.Take(400), I get back 330 rows. When I use this syntax,

from a in AccountCollection
where a.UsrTMContactId > 0
select new
{
a.Id,
a.Name
}

the results are limited to 40 rows.
I am using this second form since I only need some of the columns.

Is there a way to get all rows?

Thanks

Tom

Comments

Sign In or Register to comment.