Jaa


ODataInputContext.CreateUriParameterResourceSetReaderAsync Method

Definition

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

public virtual System.Threading.Tasks.Task<Microsoft.OData.ODataReader> CreateUriParameterResourceSetReaderAsync (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateUriParameterResourceSetReaderAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
override this.CreateUriParameterResourceSetReaderAsync : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> System.Threading.Tasks.Task<Microsoft.OData.ODataReader>
Public Overridable Function CreateUriParameterResourceSetReaderAsync (entitySet As IEdmEntitySetBase, expectedResourceType As IEdmStructuredType) As Task(Of ODataReader)

Parameters

entitySet
IEdmEntitySetBase

The entity set we are going to read resources for.

expectedResourceType
IEdmStructuredType

The expected structured type for the items in the resource set.

Returns

Task which when completed returns the newly created ODataReader.

Applies to