Export (0) Print
Expand All

DataServiceContext.CreateQuery<T> Method

Creates a data service query for data of a specified generic type.

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

public DataServiceQuery<T> CreateQuery<T>(
	string entitySetName
)

Type Parameters

T

The type returned by the query.

Parameters

entitySetName
Type: System.String
A string that resolves to a URI.

Return Value

Type: System.Data.Services.Client.DataServiceQuery<T>
A new DataServiceQuery<TElement> instance that represents a data service query.

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft