Share via


ODataInputContext.CreateResourceSetReader Method

Definition

Creates an ODataReader to read a resource set.

public virtual Microsoft.OData.ODataReader CreateResourceSetReader (Microsoft.OData.Edm.IEdmEntitySetBase entitySet, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
override this.CreateResourceSetReader : Microsoft.OData.Edm.IEdmEntitySetBase * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Overridable Function CreateResourceSetReader (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 structured type for the items in the resource set.

Returns

The newly created ODataReader.

Applies to