The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataServiceConfiguration.SetEntitySetPageSize Method (String, Int32)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Sets the maximum page size for an entity set resource.

Namespace:   System.Data.Services
Assembly:  System.Data.Services (in System.Data.Services.dll)

public void SetEntitySetPageSize(
	string name,
	int size


Type: System.String

Name of entity set resource for which to set the page size.

Type: System.Int32

Page size for the entity set resource that is specified in name.

When you specify a value of '*' for the name parameter, the page size value is set for all entity sets that do not have the page size explicitly set.

.NET Framework
Available since 3.5
Return to top