DataServiceResponse Class

Definition

Data service response to ExecuteBatch & SaveChanges

public sealed class DataServiceResponse : System.Collections.Generic.IEnumerable<Microsoft.OData.Client.OperationResponse>
type DataServiceResponse = class
    interface seq<OperationResponse>
    interface IEnumerable
Public NotInheritable Class DataServiceResponse
Implements IEnumerable(Of OperationResponse)
Inheritance
DataServiceResponse
Implements

Properties

BatchHeaders

The headers from an HTTP response associated with a batch request.

BatchStatusCode

The status code from an HTTP response associated with a batch request.

IsBatchResponse

Gets a Boolean value that indicates whether the response contains multiple results.

Methods

GetEnumerator()

Gets an enumerator that enables retrieval of responses to operations being tracked by OperationResponse objects within the DataServiceResponse.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Gets an enumerator that enables retrieval of responses to operations being tracked by OperationResponse objects within the DataServiceResponse.

Extension Methods

CountDistinct<TSource,TTarget>(IEnumerable<TSource>, Func<TSource,TTarget>)

Returns the distinct count of elements in a sequence after applying the projection function to each element.

Applies to