Jaa


ODataInputContext.CreateResourceReader Method

Definition

Creates an ODataReader to read a resource.

public virtual Microsoft.OData.ODataReader CreateResourceReader (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
abstract member CreateResourceReader : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
override this.CreateResourceReader : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Overridable Function CreateResourceReader (navigationSource As IEdmNavigationSource, expectedResourceType As IEdmStructuredType) As ODataReader

Parameters

navigationSource
IEdmNavigationSource

The navigation source we are going to read resources for.

expectedResourceType
IEdmStructuredType

The expected structured type for the resource to be read.

Returns

The newly created ODataReader.

Applies to