DataServiceQuery(TElement) Class
WCF Data Services 5.0
Represents a single query request to a data service.
System.Object
System.Data.Services.Client.DataServiceRequest
System.Data.Services.Client.DataServiceQuery
System.Data.Services.Client.DataServiceQuery(TElement)
System.Data.Services.Client.DataServiceRequest
System.Data.Services.Client.DataServiceQuery
System.Data.Services.Client.DataServiceQuery(TElement)
Namespace: System.Data.Services.Client
Assembly: Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)
The DataServiceQuery(TElement) type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ElementType | Returns the type of the object used in the template to create the DataServiceQuery(TElement) instance. (Overrides DataServiceRequest.ElementType.) |
![]() | Expression | Represents an expression containing the query to the data service. (Overrides DataServiceQuery.Expression.) |
![]() | Provider | Represents the query provider instance. (Overrides DataServiceQuery.Provider.) |
![]() | RequestUri | Get the URI for the query. (Overrides DataServiceRequest.RequestUri.) |
| Name | Description | |
|---|---|---|
![]() | AddQueryOption | Creates a new DataServiceQuery(TElement) with the query option set in the URI generated by the returned query. |
![]() | BeginExecute | Starts an asynchronous network operation that executes the query represented by this object instance. |
![]() | EndExecute | Ends an asynchronous query request to a data service. |
![]() | Equals | (Inherited from Object.) |
![]() | Execute | Executes the query and returns the results as a collection that implements IEnumerable.Not supported by the WCF Data Services 5.0 client for Silverlight. |
![]() | Expand(String) | Expands a query to include entities from a related entity set in the query response. |
![]() | Expand(TTarget)(Expression(Func(TElement, TTarget))) | Expands a query to include entities from a related entity set in the query response, where the related entity is of a specific type in a type hierarchy. |
![]() | Finalize | (Inherited from Object.) |
![]() | GetEnumerator | Executes the query and returns the results as a collection. |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | IncludeTotalCount | Requests that the count of all entities in the entity set be returned inline with the query results. |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Represents the URI of the query to the data service. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator | Executes the query and returns the results as a collection. |
![]() ![]() | IEnumerable(TElement).GetEnumerator | Executes the query and returns the result as a collection.Supported only by the WCF Data Services 5.0 client for Silverlight. |
No public constructors are defined on this class. Object instances are created by using CreateQuery``1(Uri) or CreateQuery(T) on the DataServiceContext class.
Show:
