Share via


ODataMessageReader.CreateODataUriParameterResourceSetReader Method

Definition

Creates an ODataReader to read a resource set in a Uri operation parameter.

public Microsoft.OData.ODataReader CreateODataUriParameterResourceSetReader (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataUriParameterResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Function CreateODataUriParameterResourceSetReader (entitySet As IEdmEntitySetBase, expectedResourceType As IEdmStructuredType) As ODataReader

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to read resources for.

expectedResourceType
IEdmStructuredType

The expected type for the items in the resource set.

Returns

The created reader.

Applies to