Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An abstract class that represents a single query request to WCF Data Services.
Inheritance Hierarchy
System.Object
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)
Syntax
'Declaration
Public MustInherit Class DataServiceQuery _
Inherits DataServiceRequest _
Implements IQueryable, IEnumerable
'Usage
Dim instance As DataServiceQuery
public abstract class DataServiceQuery : DataServiceRequest,
IQueryable, IEnumerable
public ref class DataServiceQuery abstract : public DataServiceRequest,
IQueryable, IEnumerable
[<AbstractClassAttribute>]
type DataServiceQuery =
class
inherit DataServiceRequest
interface IQueryable
interface IEnumerable
end
public abstract class DataServiceQuery extends DataServiceRequest implements IQueryable, IEnumerable
The DataServiceQuery type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
ElementType | Gets the type of object submitted as a batch to the data service. (Inherited from DataServiceRequest.) |
![]() |
Expression | Represents an expression that contains the query to the data service. |
![]() |
Provider | Represents the query provider instance. |
![]() |
RequestUri | Gets the URI of the request object submitted to a data service. (Inherited from DataServiceRequest.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
BeginExecute | Asynchronously sends a request to execute the data service query. |
![]() |
EndExecute | Called to complete the asynchronous operation of executing a data service query. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Execute | Executes the query against the data service.Not supported by the WCF Data Services 5.0 client for Silverlight. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() |
IEnumerable.GetEnumerator | Gets the IEnumerator object that can be used to iterate through the collection returned by the query. |
Top
Remarks
No public constructors are defined on this class. Object instances are created by using CreateQuery``1(Uri) or CreateQuery<T> on the DataServiceContext class.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.