This documentation is archived and is not being maintained.

DataServiceContext.LoadProperty Method (Object, String, DataServiceQueryContinuation)

Loads the next page of related entities from the data service by using the supplied query continuation object.

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

public QueryOperationResponse LoadProperty(
	Object entity,
	string propertyName,
	DataServiceQueryContinuation continuation


Type: System.Object

The entity that contains the property to load.

Type: System.String

The name of the property of the specified entity to load.

Type: System.Data.Services.Client.DataServiceQueryContinuation

A DataServiceQueryContinuation<T> object that represents the next page of related entities to load from the data service.

Return Value

Type: System.Data.Services.Client.QueryOperationResponse
The response that contains the next page of related entity data.


When entity is in the Detached or Added state.

This topic describes new functionality in ADO.NET Data Services that is available as an update to the .NET Framework version 3.5 Service Pack 1. You can download and install the update from the Microsoft Download Center.

When entity is in an Unchanged or Modified state, the related entities are loaded as objects in an Unchanged state, with links also in Unchanged state.

When entity is in a Deleted state, the related entities are loaded as objects in an Unchanged state, with links that are in the Deleted state.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5 SP1