DataServiceRequest Class
July 26, 2012
Represents request objects that are submitted as a batch to the Open Data Protocol (OData) service.
System.Object
System.Data.Services.Client.DataServiceRequest
System.Data.Services.Client.DataServiceQuery
System.Data.Services.Client.DataServiceRequest(Of TElement)
System.Data.Services.Client.DataServiceRequest
System.Data.Services.Client.DataServiceQuery
System.Data.Services.Client.DataServiceRequest(Of TElement)
Assembly: System.Data.Services.Client (in System.Data.Services.Client.dll)
The DataServiceRequest type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ElementType | Gets the type of object submitted as a batch to the Open Data Protocol (OData) service. |
![]() | RequestUri | Gets the URI of the request object submitted to an Open Data Protocol (OData) service. |
| Name | Description | |
|---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ToString | Represents the URI of the query to the Open Data Protocol (OData) service. (Overrides Object.ToString.) |
In a group of queries that are submitted as a batch to the OData service, the queries are specified as DataServiceRequest instances. A DataServiceResponse is returned that represents the response of the batch request. Individual query responses are represented as QueryOperationResponse objects, which are derived from the OperationResponse class, that are accessible by enumerating the DataServiceResponse instance.
