DataServiceContext::CreateQuery<T> Method (String^)

 

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:
generic<typename T>
DataServiceQuery<T>^ CreateQuery(
	String^ entitySetName
)

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.

Type Parameters

T

The type returned by the query

.NET Framework
Available since 3.5
Silverlight
Available since 2.0
Return to top
Show: