DataServiceConfiguration.SetEntitySetPageSize Method (String, Int32)


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