Share via


ODataParameterReader Class

Definition

Base class for OData parameter readers.

public abstract class ODataParameterReader
type ODataParameterReader = class
Public MustInherit Class ODataParameterReader
Inheritance
ODataParameterReader

Constructors

ODataParameterReader()

Properties

Name

Gets the name of the current parameter that is being read.

State

Gets the current state of the reader.

Value

Gets the value of the current parameter that is being read.

Methods

CreateCollectionReader()

Creates an ODataCollectionReader to read the collection value when the state is ODataParameterReaderState.Collection.

CreateResourceReader()

This method creates an ODataReader to read the resource value when the state is ODataParameterReaderState.Resource.

CreateResourceSetReader()

This method creates an ODataReader to read the resource set value when the state is ODataParameterReaderState.ResourceSet.

Read()

Reads the next parameter from the message payload.

ReadAsync()

Asynchronously reads the next item from the message payload.

Applies to