Export (0) Print
Expand All

DataServiceQuery Class

An abstract class that represents a single query request to WCF Data Services. 

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

public abstract class DataServiceQuery : DataServiceRequest, 
	IQueryable, IEnumerable

The DataServiceQuery type exposes the following members.

  NameDescription
Public propertyElementTypeGets the type of object submitted as a batch to the data service. (Inherited from DataServiceRequest.)
Public propertyExpressionRepresents an expression that contains the query to the data service.
Public propertyProviderRepresents the query provider instance.
Public propertyRequestUriGets the URI of the request object submitted to a data service. (Inherited from DataServiceRequest.)
Top

  NameDescription
Public methodBeginExecuteAsynchronously sends a request to execute the data service query.
Public methodEndExecuteCalled to complete the asynchronous operation of executing a data service query.
Public methodEquals (Inherited from Object.)
Public methodExecuteExecutes the query against the data service.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorGets the IEnumerator object that can be used to iterate through the collection returned by the query.
Top

No public constructors are defined on this class. Object instances are created by using CreateQuery``1(Uri) or CreateQuery<T> on the DataServiceContext class.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft