Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

DataServiceContext.CreateQuery<T> Method

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

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.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.
Show:
© 2014 Microsoft. All rights reserved.