Jaa


ODataInputContext Class

Definition

Base class for all input contexts, defines the interface to be implemented by the specific formats.

public abstract class ODataInputContext : IDisposable
type ODataInputContext = class
    interface IDisposable
Public MustInherit Class ODataInputContext
Implements IDisposable
Inheritance
ODataInputContext
Implements

Constructors

ODataInputContext(ODataFormat, ODataMessageInfo, ODataMessageReaderSettings)

Constructor.

Properties

MessageReaderSettings

The message reader settings to be used for reading.

Model

The model to use or null if no metadata is available.

PayloadUriConverter

The optional URL converter to perform custom URL conversion for URLs read from the payload.

ReadingResponse

Set to true if a response is being read.

Synchronous

true if the input should be read synchronously; false if it should be read asynchronously.

Methods

CreateCollectionReader(IEdmTypeReference)

Create a ODataCollectionReader.

CreateCollectionReaderAsync(IEdmTypeReference)

Asynchronously create a ODataCollectionReader.

CreateDeltaResourceSetReader(IEdmEntitySetBase, IEdmStructuredType)

Creates an ODataReader to read a delta resource set.

CreateDeltaResourceSetReaderAsync(IEdmEntitySetBase, IEdmStructuredType)

Asynchronously creates an ODataReader to read a delta resource set.

CreateParameterReader(IEdmOperation)

Create a ODataParameterReader.

CreateParameterReaderAsync(IEdmOperation)

Asynchronously create a ODataParameterReader.

CreateResourceReader(IEdmNavigationSource, IEdmStructuredType)

Creates an ODataReader to read a resource.

CreateResourceReaderAsync(IEdmNavigationSource, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource.

CreateResourceSetReader(IEdmEntitySetBase, IEdmStructuredType)

Creates an ODataReader to read a resource set.

CreateResourceSetReaderAsync(IEdmEntitySetBase, IEdmStructuredType)

Asynchronously creates an ODataReader to read a resource set.

CreateUriParameterResourceReader(IEdmNavigationSource, IEdmStructuredType)

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

CreateUriParameterResourceReaderAsync(IEdmNavigationSource, IEdmStructuredType)

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

CreateUriParameterResourceSetReader(IEdmEntitySetBase, IEdmStructuredType)

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

CreateUriParameterResourceSetReaderAsync(IEdmEntitySetBase, IEdmStructuredType)

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

Dispose()

IDisposable.Dispose() implementation to cleanup unmanaged resources of the context.

Dispose(Boolean)

Perform the actual cleanup work.

ReadError()

Read a top-level error.

ReadErrorAsync()

Asynchronously read a top-level error.

ReadProperty(IEdmStructuralProperty, IEdmTypeReference)

Read the EDM structural property from the input and return an ODataProperty representing the read property.

ReadPropertyAsync(IEdmStructuralProperty, IEdmTypeReference)

Asynchronously read the EDM structural property from the input and return an ODataProperty representing the read property.

Applies to