I use the server-side page like this:
[Queryable(PageSize = 20)]
public IQueryable<T> Get()
{
return Repository<T>.GetAll();
}
then,I get items as GET http://domain.com/oData/EntityA?$expand=EntityB. As I expected I got 10 "EntityA",but the navigation properties "EntityB" always only 10,too.
I google it,but nothing helped. At $select and $expand support has some tip,but not solution:
PageSize for expanded feeds.
How can one specify page size for expanded feeds? WCF DS has a per entity-set configuration knob for page size. Should we follow their model?
So,how can I get all of EntityB though $expand,is need some config?
version:
Mvc 5.0.0-beta2
WebApi 5.0.0-beta2
WebApi.OData 5.0.0-rc1-130807
Data.OData 5.6.0-rc1