Share via


ODataMessageReader.CreateODataUriParameterResourceReader Method

Definition

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

public Microsoft.OData.ODataReader CreateODataUriParameterResourceReader (Microsoft.OData.Edm.IEdmNavigationSource navigationSource, Microsoft.OData.Edm.IEdmStructuredType expectedResourceType);
member this.CreateODataUriParameterResourceReader : Microsoft.OData.Edm.IEdmNavigationSource * Microsoft.OData.Edm.IEdmStructuredType -> Microsoft.OData.ODataReader
Public Function CreateODataUriParameterResourceReader (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 resource type for the resource to be read.

Returns

The created reader.

Applies to